summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/os/windows/win32.h2
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__ */