diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2012-11-14 00:52:05 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2012-11-14 02:36:58 +0400 |
commit | 6fcfdc52abe2061a089b4a64346b6e53a9861b0c (patch) | |
tree | c3d68f39e5a917dd4df9a3ebb5abbc4c06a1051c /libgc/darwin_stop_world.c | |
parent | 2ff2fe25fa644248fc4d9b876fc37ff5211666f7 (diff) |
Do the right check for TARGET_IPHONE_SIMULATOR.
Diffstat (limited to 'libgc/darwin_stop_world.c')
-rw-r--r-- | libgc/darwin_stop_world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgc/darwin_stop_world.c b/libgc/darwin_stop_world.c index e867f10f13a..8272d556acc 100644 --- a/libgc/darwin_stop_world.c +++ b/libgc/darwin_stop_world.c @@ -119,7 +119,7 @@ void GC_push_all_stacks() { if(r != KERN_SUCCESS) continue; #if defined(I386) -#if defined (TARGET_IPHONE_SIMULATOR) || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) +#if TARGET_IPHONE_SIMULATOR == 1 || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5) lo = state.__esp; |