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

Skip to content

Commit a4e4fa8

Browse files
authored
(3dparty coroutine) ifdef MSV_VER to WIN32
On Windows not only MSVC compilator.
1 parent 33aec25 commit a4e4fa8

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)