From 95005116d59e42f3a1ea4bd39bdf6570dd868223 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 2 Jan 2011 11:13:34 +0100 Subject: [PATCH] Fix some double Win32 #ifdefs --- bacula/src/win32/compat/compat.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5