summaryrefslogtreecommitdiff
path: root/src/common/fiber.cpp
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.cpp
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.cpp')
-rw-r--r--src/common/fiber.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/fiber.cpp b/src/common/fiber.cpp
index a46be73c1..050c93acb 100644
--- a/src/common/fiber.cpp
+++ b/src/common/fiber.cpp
@@ -4,7 +4,7 @@
4 4
5#include "common/assert.h" 5#include "common/assert.h"
6#include "common/fiber.h" 6#include "common/fiber.h"
7#ifdef _MSC_VER 7#if defined(_WIN32) || defined(WIN32)
8#include <windows.h> 8#include <windows.h>
9#else 9#else
10#include <boost/context/detail/fcontext.hpp> 10#include <boost/context/detail/fcontext.hpp>
@@ -12,7 +12,7 @@
12 12
13namespace Common { 13namespace Common {
14 14
15#ifdef _MSC_VER 15#if defined(_WIN32) || defined(WIN32)
16 16
17struct Fiber::FiberImpl { 17struct Fiber::FiberImpl {
18 LPVOID handle = nullptr; 18 LPVOID handle = nullptr;