mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
InitOnceExecuteOnce requires targeting Windows Vista.
Cygwin fix.
This commit is contained in:
parent
d8a9d6d3bf
commit
f19b559f6e
@ -56,7 +56,9 @@
|
||||
#if defined _MSC_VER || defined __CYGWIN__
|
||||
# include <lmcons.h>
|
||||
extern "C" typedef LONG (WINAPI *t_RtlGetVersion)( PRTL_OSVERSIONINFOW );
|
||||
# define TRACY_USE_INIT_ONCE
|
||||
# if _WIN32_WINNT >= _WIN32_WINNT_VISTA
|
||||
# define TRACY_USE_INIT_ONCE
|
||||
# endif
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <limits.h>
|
||||
|
Loading…
Reference in New Issue
Block a user