diff options
author | planetmaker <planetmaker@openttd.org> | 2015-03-02 09:10:16 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2015-03-02 09:10:16 +0000 |
commit | 15a29b8b28eca77479f468b13e071a3c7dc4c049 (patch) | |
tree | ad2391798cdcb7777df0952a98dfcf6e5b7a3e10 /src/os/windows | |
parent | 5c09a63b6b955320eeb16f5600496ac328b71439 (diff) | |
download | openttd-15a29b8b28eca77479f468b13e071a3c7dc4c049.tar.xz |
(svn r27176) -Fix: Compilation with MinGW64 (Eddy Arfik)
Diffstat (limited to 'src/os/windows')
-rw-r--r-- | src/os/windows/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__ */ |