summaryrefslogtreecommitdiff
path: root/src/common/fiber.h
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-02-10 14:21:23 -0400
committerGravatar Fernando Sahmkow2020-06-18 16:29:20 -0400
commit3398f701eeac63f3cfcf193f3e9c1ee2f06edb08 (patch)
tree69db1451cd0ca272cc40d7b8336d2b57db25645b /src/common/fiber.h
parentCommon/Tests: Clang Format. (diff)
downloadyuzu-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.h4
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)
14namespace boost::context::detail { 14namespace boost::context::detail {
15struct transfer_t; 15struct transfer_t;
16} 16}
@@ -57,7 +57,7 @@ public:
57private: 57private:
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