mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
Explicitly error out when no context definition is provided.
If there is no context definition in a non-generic build, compilation will error out anyway, but in a less obvious place.
This commit is contained in:
parent
4b9173ca62
commit
eea609c55e
@ -114,7 +114,7 @@ typedef mcontext_t SContext;
|
|||||||
#define CTX_SP sp
|
#define CTX_SP sp
|
||||||
#define CTX_PC pc
|
#define CTX_PC pc
|
||||||
#else
|
#else
|
||||||
#warning No context definition for OS
|
#error No context definition for OS
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__NetBSD__)
|
#elif defined(__NetBSD__)
|
||||||
#include <ucontext.h>
|
#include <ucontext.h>
|
||||||
@ -164,6 +164,8 @@ typedef mcontext_t SContext;
|
|||||||
#else
|
#else
|
||||||
#error No context definition for OS
|
#error No context definition for OS
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#error No context definition for OS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if _M_X86_64
|
#if _M_X86_64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user