From: Rodrigo Kumpera Date: Tue, 13 Nov 2012 20:52:05 +0000 (-0500) Subject: Do the right check for TARGET_IPHONE_SIMULATOR. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=637320c5e2aa472f0445127d89d5656f9f9e7488;p=gc Do the right check for TARGET_IPHONE_SIMULATOR. --- 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;