From: Kern Sibbald Date: Sun, 2 Jan 2011 10:13:34 +0000 (+0100) Subject: Fix some double Win32 #ifdefs X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95005116d59e42f3a1ea4bd39bdf6570dd868223;p=bacula%2Fbacula Fix some double Win32 #ifdefs --- diff --git a/bacula/src/win32/compat/compat.h b/bacula/src/win32/compat/compat.h index 980ee9439d..13e01ba876 100644 --- a/bacula/src/win32/compat/compat.h +++ b/bacula/src/win32/compat/compat.h @@ -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