diff --git a/src/dynarmic/src/dynarmic/common/context.h b/src/dynarmic/src/dynarmic/common/context.h index 0eb128449c..ea2c1ef251 100644 --- a/src/dynarmic/src/dynarmic/common/context.h +++ b/src/dynarmic/src/dynarmic/common/context.h @@ -12,7 +12,22 @@ # include # endif # 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 +# 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 # ifdef __linux__ # include