From 3475ecda2add9106088a3a47c23f8d86bd31422b Mon Sep 17 00:00:00 2001 From: James Harper Date: Sat, 27 Mar 2010 11:54:26 +0100 Subject: [PATCH] Patch from James --- bacula/src/win32/filed/plugins/api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/win32/filed/plugins/api.h b/bacula/src/win32/filed/plugins/api.h index 0bcc16a57a..5f3d39cc83 100644 --- a/bacula/src/win32/filed/plugins/api.h +++ b/bacula/src/win32/filed/plugins/api.h @@ -279,7 +279,7 @@ extern HrESERestoreSaveEnvironment_t HrESERestoreSaveEnvironment; extern HrESERestoreAddDatabase_t HrESERestoreAddDatabase; extern HrESERestoreOpenFile_t HrESERestoreOpenFile; -#if !defined(MINGW64) +#if !defined(MINGW64) && (_WIN32_WINNT < 0x0500) typedef enum _COMPUTER_NAME_FORMAT { ComputerNameNetBIOS, ComputerNameDnsHostname, -- 2.39.5