|
@@ -10,7 +10,7 @@
|
|
|
#include "common/common_types.h"
|
|
#include "common/common_types.h"
|
|
|
#include "common/spin_lock.h"
|
|
#include "common/spin_lock.h"
|
|
|
|
|
|
|
|
-#ifndef _MSC_VER
|
|
|
|
|
|
|
+#if !defined(_WIN32) && !defined(WIN32)
|
|
|
namespace boost::context::detail {
|
|
namespace boost::context::detail {
|
|
|
struct transfer_t;
|
|
struct transfer_t;
|
|
|
}
|
|
}
|
|
@@ -57,7 +57,7 @@ public:
|
|
|
private:
|
|
private:
|
|
|
Fiber();
|
|
Fiber();
|
|
|
|
|
|
|
|
-#ifdef _MSC_VER
|
|
|
|
|
|
|
+#if defined(_WIN32) || defined(WIN32)
|
|
|
void start();
|
|
void start();
|
|
|
static void FiberStartFunc(void* fiber_parameter);
|
|
static void FiberStartFunc(void* fiber_parameter);
|
|
|
#else
|
|
#else
|