diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2012-11-16 01:21:25 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2012-11-16 01:21:25 +0400 |
commit | 2c7b89300ce4f98887faeb10874957daea3b4b8d (patch) | |
tree | d0325d4fb4beba85cf7d871912caa16a8e64c670 /libgc/darwin_stop_world.c | |
parent | c01b7e5c6bda33d55c0e8eb5f43c7d53f8852835 (diff) |
Switch boehm to use TARGET_OSX/TARGET_IOS.
Diffstat (limited to 'libgc/darwin_stop_world.c')
-rw-r--r-- | libgc/darwin_stop_world.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libgc/darwin_stop_world.c b/libgc/darwin_stop_world.c index f2f9de81596..a53cda354a6 100644 --- a/libgc/darwin_stop_world.c +++ b/libgc/darwin_stop_world.c @@ -2,10 +2,6 @@ # if defined(GC_DARWIN_THREADS) -#if __APPLE__ -#include "TargetConditionals.h" -#endif - #include <AvailabilityMacros.h> #include "mono/utils/mono-compiler.h" @@ -119,7 +115,7 @@ void GC_push_all_stacks() { if(r != KERN_SUCCESS) continue; #if defined(I386) -#if TARGET_IPHONE_SIMULATOR == 1 || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) +#if defined (TARGET_IOS) || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) lo = state.__esp; @@ -395,7 +391,7 @@ void GC_push_all_stacks() { (natural_t *)&info, &outCount); if(r != KERN_SUCCESS) continue; -#if TARGET_IPHONE_SIMULATOR == 1 || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) +#if defined (TARGET_IOS) || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) lo = (void*)info.__esp; hi = (ptr_t)FindTopOfStack(info.__esp); |