X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fx86-64-arch.c;h=d075ce60794f81684655db68ae73bb761d2362c3;hb=816c50a5589bcf756f67119e657ae348e4858357;hp=6a6e53b386de6333bf133faf7bf06a15f054f0d7;hpb=127fd3d2fb843c6bb7ad0763e143d81877e760e8;p=sbcl.git diff --git a/src/runtime/x86-64-arch.c b/src/runtime/x86-64-arch.c index 6a6e53b..d075ce6 100644 --- a/src/runtime/x86-64-arch.c +++ b/src/runtime/x86-64-arch.c @@ -25,6 +25,7 @@ #include "interr.h" #include "breakpoint.h" #include "thread.h" +#include "pseudo-atomic.h" #include "genesis/static-symbols.h" #include "genesis/symbol.h" @@ -63,11 +64,7 @@ context_eflags_addr(os_context_t *context) #elif defined __FreeBSD__ return &context->uc_mcontext.mc_rflags; #elif defined LISP_FEATURE_DARWIN -#if defined __DARWIN_UNIX03 - return &context->uc_mcontext->__ss.__rflags; -#else - return &context->uc_mcontext->ss.rflags; -#endif + return CONTEXT_ADDR_FROM_STEM(rflags); #elif defined __OpenBSD__ return &context->sc_eflags; #else