]> git.sur5r.net Git - bacula/bacula/commitdiff
Only define winapi's for 32 bit build. Already defined for 64 bit apparently...
authorJames Harper <james.harper@bendigoit.com.au>
Sun, 3 May 2009 13:05:01 +0000 (13:05 +0000)
committerJames Harper <james.harper@bendigoit.com.au>
Sun, 3 May 2009 13:05:01 +0000 (13:05 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8783 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/filed/plugins/api.h

index 899c74486779531659edb4c25d566f1a27b3f100..e2ced85626ffc1dce8e5fca593d40d917d7a23cf 100644 (file)
@@ -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
 
 }