mirror of
https://github.com/wolfpld/tracy
synced 2026-02-17 02:12:16 +00:00
InitOnceExecuteOnce requires targeting Windows Vista.
Cygwin fix.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user