From: James Harper Date: Sun, 3 May 2009 13:05:01 +0000 (+0000) Subject: Only define winapi's for 32 bit build. Already defined for 64 bit apparently... X-Git-Tag: Release-3.0.2~280 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=191511281d0da92e57d07d6681d7ec6879507dc8;p=bacula%2Fbacula 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 --- 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 }