Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@gmail.com>2012-11-14 00:52:05 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2012-11-14 02:36:58 +0400
commit6fcfdc52abe2061a089b4a64346b6e53a9861b0c (patch)
treec3d68f39e5a917dd4df9a3ebb5abbc4c06a1051c /libgc/darwin_stop_world.c
parent2ff2fe25fa644248fc4d9b876fc37ff5211666f7 (diff)
Do the right check for TARGET_IPHONE_SIMULATOR.
Diffstat (limited to 'libgc/darwin_stop_world.c')
-rw-r--r--libgc/darwin_stop_world.c2
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;