Use native windows threads on cygwin, mingw.

This commit is contained in:
Bartosz Taudul 2019-11-06 01:42:14 +01:00
parent df0e28a61f
commit d4f58ddaf3

View File

@ -1,7 +1,7 @@
#ifndef __TRACYTHREAD_HPP__
#define __TRACYTHREAD_HPP__
#ifdef _MSC_VER
#if defined _WIN32 || defined __CYGWIN__
# include <windows.h>
#else
# include <pthread.h>
@ -10,7 +10,7 @@
namespace tracy
{
#ifdef _MSC_VER
#if defined _WIN32 || defined __CYGWIN__
class Thread
{