summaryrefslogtreecommitdiffstats
path: root/src/common/fiber.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-10 19:21:23 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-18 22:29:20 +0200
commit3398f701eeac63f3cfcf193f3e9c1ee2f06edb08 (patch)
tree69db1451cd0ca272cc40d7b8336d2b57db25645b /src/common/fiber.h
parentCommon/Tests: Clang Format. (diff)
downloadyuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar
yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.gz
yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.bz2
yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.lz
yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.xz
yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.tar.zst
yuzu-3398f701eeac63f3cfcf193f3e9c1ee2f06edb08.zip
Diffstat (limited to '')
-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 @@
#include "common/common_types.h"
#include "common/spin_lock.h"
-#ifndef _MSC_VER
+#if !defined(_WIN32) && !defined(WIN32)
namespace boost::context::detail {
struct transfer_t;
}
@@ -57,7 +57,7 @@ public:
private:
Fiber();
-#ifdef _MSC_VER
+#if defined(_WIN32) || defined(WIN32)
void start();
static void FiberStartFunc(void* fiber_parameter);
#else