On the iPhone simulator the machine context field has two underscores
parent
69d4ab80d0
commit
83a06c3d15
|
@ -47,8 +47,9 @@
|
|||
#include <sys/ucontext.h>
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
#if !defined(MAC_OS_X_VERSION_10_5) \
|
||||
|| MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
|
||||
#if (!defined(MAC_OS_X_VERSION_10_5) \
|
||||
|| MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5) \
|
||||
&& !defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
|
||||
#define CONTEXT_REG(r) r
|
||||
#else
|
||||
#define CONTEXT_REG(r) __##r
|
||||
|
@ -250,8 +251,9 @@
|
|||
#include <sys/ucontext.h>
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
#if !defined(MAC_OS_X_VERSION_10_5) \
|
||||
|| MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
|
||||
#if (!defined(MAC_OS_X_VERSION_10_5) \
|
||||
|| MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5) \
|
||||
&& !defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
|
||||
#define CONTEXT_REG(r) r
|
||||
#else
|
||||
#define CONTEXT_REG(r) __##r
|
||||
|
|
Loading…
Reference in New Issue