From 3ca023998574548fee50ad4c42e0b0996b9f0919 Mon Sep 17 00:00:00 2001 From: glx22 Date: Fri, 19 Feb 2021 23:49:14 +0100 Subject: [PATCH] Fix: [MinGW32] SHGFP_TYPE_CURRENT is now present in win32api --- src/os/windows/win32.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/os/windows/win32.h b/src/os/windows/win32.h index b2048375b9..bf88e312a7 100644 --- a/src/os/windows/win32.h +++ b/src/os/windows/win32.h @@ -19,10 +19,6 @@ bool LoadLibraryList(Function proc[], const char *dll); char *convert_from_fs(const wchar_t *name, char *utf8_buf, size_t buflen); wchar_t *convert_to_fs(const char *name, wchar_t *utf16_buf, size_t buflen); -#if defined(__MINGW32__) && !defined(__MINGW64__) -#define SHGFP_TYPE_CURRENT 0 -#endif /* __MINGW32__ */ - void Win32SetCurrentLocaleName(const char *iso_code); int OTTDStringCompare(const char *s1, const char *s2);