# HG changeset patch # User glx22 # Date 2021-02-19 22:49:14 # Node ID 5b71672f98f6e7620fd8f024241008bdfe0bfdef # Parent a3297d91e51687914ea8a439ea3d5b50bd8b901c Fix: [MinGW32] SHGFP_TYPE_CURRENT is now present in win32api diff --git a/src/os/windows/win32.h b/src/os/windows/win32.h --- a/src/os/windows/win32.h +++ b/src/os/windows/win32.h @@ -19,10 +19,6 @@ bool LoadLibraryList(Function proc[], co 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);