From c5676b1b8e223c927be3169747e1028ed2edc7f3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 2 Nov 2010 02:08:36 +0100 Subject: Windows: define DISPLAY_DEVICE_ACTIVE, if not already --- src/newt/native/WindowsWindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/newt') diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index b2f96a03b..46d710eda 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -89,6 +89,12 @@ #ifndef MONITOR_DEFAULTTONEAREST #define MONITOR_DEFAULTTONEAREST 2 #endif +#ifndef EDS_ROTATEDMODE +#define EDS_ROTATEDMODE 0x00000004 +#endif +#ifndef DISPLAY_DEVICE_ACTIVE +#define DISPLAY_DEVICE_ACTIVE 0x00000001 +#endif #include "com_jogamp_newt_impl_windows_WindowsDisplay.h" #include "com_jogamp_newt_impl_windows_WindowsScreen.h" @@ -1207,10 +1213,6 @@ static HDC NewtScreen_createDisplayDC(LPCTSTR displayDeviceName) { return CreateDC("DISPLAY", displayDeviceName, NULL, NULL); } -#ifndef EDS_ROTATEDMODE - #define EDS_ROTATEDMODE 0x00000004 -#endif - /* * Class: com_jogamp_newt_impl_windows_WindowsScreen * Method: getScreenMode0 -- cgit v1.2.3