Camilla Berglund 9 years ago
parent
commit
d956dbbd2c
2 changed files with 6 additions and 8 deletions
  1. 0 8
      src/win32_monitor.c
  2. 6 0
      src/win32_platform.h

+ 0 - 8
src/win32_monitor.c

@@ -32,14 +32,6 @@
 #include <limits.h>
 #include <malloc.h>
 
-// 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                      //////

+ 6 - 0
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