From 637320c5e2aa472f0445127d89d5656f9f9e7488 Mon Sep 17 00:00:00 2001 From: Rodrigo Kumpera Date: Tue, 13 Nov 2012 15:52:05 -0500 Subject: [PATCH] Do the right check for TARGET_IPHONE_SIMULATOR. --- darwin_stop_world.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darwin_stop_world.c b/darwin_stop_world.c index e867f10f..8272d556 100644 --- a/darwin_stop_world.c +++ b/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; -- 2.40.0