Skip to content

Commit

Permalink
WINVER
Browse files Browse the repository at this point in the history
GetThreadLocale usage
  • Loading branch information
adamyg committed Feb 15, 2024
1 parent 91e9510 commit 7bbfc1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mcwin32/libintl/src/gettext.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ __RCSID("$NetBSD: gettext.c,v 1.28 2012/07/30 23:04:42 yamt Exp $");
#ifndef WINDOWS_MEAN_AND_LEAN
#define WINDOWS_MEAN_AND_LEAN
#endif
#if !defined(WINVER) || (WINVER < 0x500)
#undef WINVER
#define WINVER WIN32_WINNT /* GetThreadLocale, 2000+ */
#endif
#include <windows.h>
#pragma comment(lib, "Kernel32.lib")
#endif //WIN32
Expand Down

0 comments on commit 7bbfc1d

Please sign in to comment.