diff --git a/src/win32_monitor.c b/src/win32_monitor.c index 4cac01ff..0341c26a 100644 --- a/src/win32_monitor.c +++ b/src/win32_monitor.c @@ -32,14 +32,6 @@ #include #include -// These constants are missing on MinGW -#ifndef EDS_ROTATEDMODE - #define EDS_ROTATEDMODE 0x00000004 -#endif -#ifndef DISPLAY_DEVICE_ACTIVE - #define DISPLAY_DEVICE_ACTIVE 0x00000001 -#endif - ////////////////////////////////////////////////////////////////////////// ////// GLFW internal API ////// diff --git a/src/win32_platform.h b/src/win32_platform.h index 9c9983a8..47b4999a 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -92,6 +92,12 @@ #ifndef GET_XBUTTON_WPARAM #define GET_XBUTTON_WPARAM(w) (HIWORD(w)) #endif +#ifndef EDS_ROTATEDMODE + #define EDS_ROTATEDMODE 0x00000004 +#endif +#ifndef DISPLAY_DEVICE_ACTIVE + #define DISPLAY_DEVICE_ACTIVE 0x00000001 +#endif #if WINVER < 0x0601 typedef struct tagCHANGEFILTERSTRUCT