From 15a29b8b28eca77479f468b13e071a3c7dc4c049 Mon Sep 17 00:00:00 2001 From: planetmaker Date: Mon, 2 Mar 2015 09:10:16 +0000 Subject: (svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik) --- src/os/windows/win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/windows') diff --git a/src/os/windows/win32.h b/src/os/windows/win32.h index 45bcff10a..4e53879cf 100644 --- a/src/os/windows/win32.h +++ b/src/os/windows/win32.h @@ -35,7 +35,7 @@ TCHAR *convert_to_fs(const char *name, TCHAR *utf16_buf, size_t buflen, bool con HRESULT OTTDSHGetFolderPath(HWND, int, HANDLE, DWORD, LPTSTR); -#if defined(__MINGW32__) +#if defined(__MINGW32__) && !defined(__MINGW64__) #define SHGFP_TYPE_CURRENT 0 #endif /* __MINGW32__ */ -- cgit v1.2.3-70-g09d2