diff options
Diffstat (limited to 'src/common/fiber.h')
| -rw-r--r-- | src/common/fiber.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/fiber.h b/src/common/fiber.h index b530bf4d2..598fe7daa 100644 --- a/src/common/fiber.h +++ b/src/common/fiber.h | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 11 | #include "common/spin_lock.h" | 11 | #include "common/spin_lock.h" |
| 12 | 12 | ||
| 13 | #ifndef _MSC_VER | 13 | #if !defined(_WIN32) && !defined(WIN32) |
| 14 | namespace boost::context::detail { | 14 | namespace boost::context::detail { |
| 15 | struct transfer_t; | 15 | struct transfer_t; |
| 16 | } | 16 | } |
| @@ -57,7 +57,7 @@ public: | |||
| 57 | private: | 57 | private: |
| 58 | Fiber(); | 58 | Fiber(); |
| 59 | 59 | ||
| 60 | #ifdef _MSC_VER | 60 | #if defined(_WIN32) || defined(WIN32) |
| 61 | void start(); | 61 | void start(); |
| 62 | static void FiberStartFunc(void* fiber_parameter); | 62 | static void FiberStartFunc(void* fiber_parameter); |
| 63 | #else | 63 | #else |