Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit addd9a1

Browse files
Merge pull request BehaviorTree#126 from Jesus05/patch-1
(3dparty coroutine) ifdef MSV_VER to WIN32
2 parents 429b028 + a4e4fa8 commit addd9a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

3rdparty/coroutine/coroutine.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
using ::std::string;
3939
using ::std::wstring;
4040

41-
#ifdef _MSC_VER
41+
#ifdef _WIN32
4242
#include <Windows.h>
4343
#else
4444
#if defined(__APPLE__) && defined(__MACH__)
@@ -60,7 +60,7 @@ enum class ResumeResult
6060
YIELD = 0
6161
};
6262

63-
#ifdef _MSC_VER
63+
#ifdef _WIN32
6464

6565
struct Routine
6666
{

0 commit comments

Comments
 (0)