diff --git a/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h b/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h index 39e3389501..27cf1262ba 100644 --- a/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h +++ b/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.h @@ -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 typedef CONTEXT SContext; #if _M_X86_64