mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Use native windows threads on cygwin, mingw.
This commit is contained in:
parent
df0e28a61f
commit
d4f58ddaf3
@ -1,7 +1,7 @@
|
|||||||
#ifndef __TRACYTHREAD_HPP__
|
#ifndef __TRACYTHREAD_HPP__
|
||||||
#define __TRACYTHREAD_HPP__
|
#define __TRACYTHREAD_HPP__
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined _WIN32 || defined __CYGWIN__
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
#else
|
#else
|
||||||
# include <pthread.h>
|
# include <pthread.h>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#if defined _WIN32 || defined __CYGWIN__
|
||||||
|
|
||||||
class Thread
|
class Thread
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user