]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix some double Win32 #ifdefs
authorKern Sibbald <kern@sibbald.com>
Sun, 2 Jan 2011 10:13:34 +0000 (11:13 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:48 +0000 (14:39 +0200)
bacula/src/win32/compat/compat.h

index 980ee9439d7725a95a1c461f7e86b689cf5e3922..13e01ba876ab8e695b5654040e431390a3454fbd 100644 (file)
@@ -388,9 +388,11 @@ void prevent_os_suspensions();
 void allow_os_suspensions();
 
 typedef DWORD EXECUTION_STATE;
+#ifndef ES_CONTINUOUS
 #define ES_CONTINUOUS            0x80000000
 #define ES_SYSTEM_REQUIRED       0x00000001
 #define ES_DISPLAY_REQUIRED      0x00000002
+#endif
 #ifndef ES_USER_PRESENT
 # define ES_USER_PRESENT          0x00000004
 #endif