From d956dbbd2ceb1b7f88b7038f9d54935c5ddb0c18 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 18 Feb 2016 13:34:21 +0100 Subject: [PATCH] Cleanup --- src/win32_monitor.c | 8 -------- src/win32_platform.h | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) 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