Skip to content

Commit

Permalink
WINVER MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
adamyg committed Feb 15, 2024
1 parent 7bbfc1d commit bf65198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcwin32/libintl/src/gettext.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ __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)
#if defined(_MSC_VER) && (!defined(WINVER) || (WINVER < 0x500))
#undef WINVER
#define WINVER WIN32_WINNT /* GetThreadLocale, 2000+ */
#define WINVER WIN32_WINNT /* GetThreadLocale, SDK 10+ */
#endif
#include <windows.h>
#pragma comment(lib, "Kernel32.lib")
Expand Down

0 comments on commit bf65198

Please sign in to comment.