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-15 23:27:26 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2012-11-15 23:27:26 +0400
commit6399312b14dafbf106bcd7097552964a11d5f4b8 (patch)
tree257eb54a39c60a98061a1aa1df7f7e5f8c3d538d /libgc/darwin_stop_world.c
parent46733c1a6700a7158cea01bd6c38dc05ac9d1cbb (diff)
Fix boehm to correctly build on iOS/x86.
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 8272d556acc..f2f9de81596 100644
--- a/libgc/darwin_stop_world.c
+++ b/libgc/darwin_stop_world.c
@@ -395,7 +395,7 @@ void GC_push_all_stacks() {
(natural_t *)&info, &outCount);
if(r != KERN_SUCCESS) continue;
-#if 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 = (void*)info.__esp;
hi = (ptr_t)FindTopOfStack(info.__esp);