Browse Source
undef everything
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2752/head
lizzie
5 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
1 changed files with
15 additions and
0 deletions
-
src/dynarmic/src/dynarmic/common/context.h
|
|
@ -12,7 +12,22 @@ |
|
|
# include <ucontext.h> |
|
|
# include <ucontext.h> |
|
|
# endif |
|
|
# endif |
|
|
# ifdef __sun__ |
|
|
# ifdef __sun__ |
|
|
|
|
|
// Thanks C macros for exisitng in Solaris headers, thanks a lot |
|
|
|
|
|
// We really needed to define FOR EVERY SINGLE REGISTER didn't we? |
|
|
# include <sys/regset.h> |
|
|
# include <sys/regset.h> |
|
|
|
|
|
# undef EAX |
|
|
|
|
|
# undef EBX |
|
|
|
|
|
# undef ECX |
|
|
|
|
|
# undef EDX |
|
|
|
|
|
# undef ESP |
|
|
|
|
|
# undef EBP |
|
|
|
|
|
# undef ESI |
|
|
|
|
|
# undef EDI |
|
|
|
|
|
# undef ERR |
|
|
|
|
|
# undef SS |
|
|
|
|
|
# undef CS |
|
|
|
|
|
# undef ES |
|
|
|
|
|
# undef DS |
|
|
# endif |
|
|
# endif |
|
|
# ifdef __linux__ |
|
|
# ifdef __linux__ |
|
|
# include <sys/syscall.h> |
|
|
# include <sys/syscall.h> |
|
|
|