diff options
| author | 2020-02-10 14:21:23 -0400 | |
|---|---|---|
| committer | 2020-06-18 16:29:20 -0400 | |
| commit | 3398f701eeac63f3cfcf193f3e9c1ee2f06edb08 (patch) | |
| tree | 69db1451cd0ca272cc40d7b8336d2b57db25645b /src/common/fiber.h | |
| parent | Common/Tests: Clang Format. (diff) | |
| download | yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.gz yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.xz yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.zip | |
Common: Make MinGW build use Windows Fibers instead of fcontext_t
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 |