From e9649e7e082ca9d6cac6791f11c3681ce2ef509e Mon Sep 17 00:00:00 2001 From: lizzie Date: Thu, 16 Oct 2025 08:14:49 +0000 Subject: [PATCH] undef everything Signed-off-by: lizzie --- src/dynarmic/src/dynarmic/common/context.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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