1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-23 02:50:08 +03:00

threads: define _WIN32_WINNT as 0x0600 to use InitOnceExecuteOnce()

This commit is contained in:
makise-homura 2024-08-14 23:40:16 +03:00
parent f59da1a364
commit a3043b478f

View File

@ -6,6 +6,10 @@
#ifdef LIBXML_THREAD_ENABLED
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0600
#include <windows.h>
#define HAVE_WIN32_THREADS
#else