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:
parent
f59da1a364
commit
a3043b478f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user