From 619b8e473f10af71d32dc33539aab3f6004b2b89 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sat, 28 Feb 2015 22:37:31 +0300 Subject: [PATCH] Possibly fix for OSX --- Utilities/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 0bb5ece45a..bb41b1e83e 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -465,7 +465,7 @@ typedef ucontext_t x64_context; #define X64REG(context, reg) (darwin_x64reg(context, reg)) #define XMMREG(context, reg) (reinterpret_cast(&(context)->uc_mcontext->__fs.__fpu_xmm0[reg])) -#define EFLAGS(context) ((context)->uc_mcontext->__ss.__eflags) +#define EFLAGS(context) ((context)->uc_mcontext->__ss.__rflags) uint64_t* darwin_x64reg(x64_context *context, int reg) {