From 191511281d0da92e57d07d6681d7ec6879507dc8 Mon Sep 17 00:00:00 2001 From: James Harper Date: Sun, 3 May 2009 13:05:01 +0000 Subject: [PATCH] Only define winapi's for 32 bit build. Already defined for 64 bit apparently... git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8783 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/filed/plugins/api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bacula/src/win32/filed/plugins/api.h b/bacula/src/win32/filed/plugins/api.h index 899c744867..e2ced85626 100644 --- a/bacula/src/win32/filed/plugins/api.h +++ b/bacula/src/win32/filed/plugins/api.h @@ -278,6 +278,7 @@ extern HrESERestoreSaveEnvironment_t HrESERestoreSaveEnvironment; extern HrESERestoreAddDatabase_t HrESERestoreAddDatabase; extern HrESERestoreOpenFile_t HrESERestoreOpenFile; +#if !defined(MINGW64) typedef enum _COMPUTER_NAME_FORMAT { ComputerNameNetBIOS, ComputerNameDnsHostname, @@ -295,5 +296,6 @@ BOOL WINAPI GetComputerNameExW( LPWSTR lpBuffer, LPDWORD lpnSize ); +#endif } -- 2.39.5