InitOnceExecuteOnce requires targeting Windows Vista.

Cygwin fix.
This commit is contained in:
Bartosz Taudul 2018-11-25 19:03:17 +01:00
parent d8a9d6d3bf
commit f19b559f6e

View File

@ -56,7 +56,9 @@
#if defined _MSC_VER || defined __CYGWIN__
# include <lmcons.h>
extern "C" typedef LONG (WINAPI *t_RtlGetVersion)( PRTL_OSVERSIONINFOW );
# if _WIN32_WINNT >= _WIN32_WINNT_VISTA
# define TRACY_USE_INIT_ONCE
# endif
#else
# include <unistd.h>
# include <limits.h>