Make sure MOD_SHIFT, etc. have the right value

This commit is contained in:
Thomas Bernard 2019-01-31 23:32:11 +01:00
parent 81486a3563
commit 3a809bb049
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -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 <windows.h>
#endif
#ifdef MOD_SHIFT
#undef MOD_SHIFT
#endif