Common: Make MinGW build use Windows Fibers instead of fcontext_t
This commit is contained in:
parent
09d2ffa663
commit
4e9a9e584c
2 changed files with 4 additions and 4 deletions
src/common
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "common/assert.h"
|
||||
#include "common/fiber.h"
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <boost/context/detail/fcontext.hpp>
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace Common {
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
|
||||
struct Fiber::FiberImpl {
|
||||
LPVOID handle = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue