From 3a809bb049109489756a3626abe732d10508d906 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 31 Jan 2019 23:32:11 +0100 Subject: [PATCH] Make sure MOD_SHIFT, etc. have the right value --- src/global.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/global.h b/src/global.h index 5576f935..b558c78d 100644 --- a/src/global.h +++ b/src/global.h @@ -105,6 +105,11 @@ GFX2_GLOBAL char Key_Text[32]; // Keyboard modifiers // (Name conflict with windows.h) +#ifdef WIN32 +// first include windows.h so it's done and won't overwrite our +// MOD_SHIFT, etc. afterward +#include +#endif #ifdef MOD_SHIFT #undef MOD_SHIFT #endif