Use the native Windows thread support instead of pthread

This commit is contained in:
Andrea Mazzoleni 2016-02-12 19:12:38 +01:00
parent 42330c05b6
commit 86eaf8190f
4 changed files with 158 additions and 109 deletions

View file

@ -40,11 +40,11 @@
#define __MSVCRT_VERSION__ 0x0601
/**
* Include Windows XP headers.
* Include Windows Vista headers.
*
* Like for CreateHardLinkW().
* Like for InitializeCriticalSection().
*/
#define _WIN32_WINNT 0x501
#define _WIN32_WINNT 0x600
#include <windows.h>
#endif