Add a fake SContext definition for _M_GENERIC.

This commit is contained in:
comex 2014-09-22 20:57:57 -04:00
parent 0a1855d2ca
commit 9cdd842080

View File

@ -7,7 +7,12 @@
#include "Common/CommonTypes.h"
// meh.
#if defined(_WIN32)
#if defined(_M_GENERIC)
// JitBase uses SContext; it should have no concrete implementations in a
// generic build.
struct FakeGenericContext;
typedef FakeGenericContext SContext;
#elif defined(_WIN32)
#include <windows.h>
typedef CONTEXT SContext;
#if _M_X86_64