From: James Harper Date: Sat, 27 Mar 2010 10:54:26 +0000 (+0100) Subject: Patch from James X-Git-Tag: Release-5.2.1~1568 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3475ecda2add9106088a3a47c23f8d86bd31422b;p=bacula%2Fbacula Patch from James --- 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,