]> git.sur5r.net Git - bacula/bacula/commitdiff
Patch from James
authorJames Harper <james.harper@bendigoit.com.au>
Sat, 27 Mar 2010 10:54:26 +0000 (11:54 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:42 +0000 (16:49 +0200)
bacula/src/win32/filed/plugins/api.h

index 0bcc16a57afbf7169e7fafc9f0b3dc2c7bc76d28..5f3d39cc831cd11ded513bb7021b79c125d2a499 100644 (file)
@@ -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,