From 47698affec42b20e572fc9bfbe6563e5b39391c3 Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Mon, 24 Feb 2014 20:30:07 +0000 Subject: More support for allowing GTM to compile with -Wundef. DELTA=8 (8 added, 0 deleted, 0 changed) --- GTMDefines.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'GTMDefines.h') diff --git a/GTMDefines.h b/GTMDefines.h index 1e6fa3f..14ffa7e 100644 --- a/GTMDefines.h +++ b/GTMDefines.h @@ -193,9 +193,11 @@ // For iPhone specific stuff #define GTM_IPHONE_SDK 1 #if TARGET_IPHONE_SIMULATOR + #define GTM_IPHONE_DEVICE 0 #define GTM_IPHONE_SIMULATOR 1 #else #define GTM_IPHONE_DEVICE 1 + #define GTM_IPHONE_SIMULATOR 0 #endif // TARGET_IPHONE_SIMULATOR // By default, GTM has provided it's own unittesting support, define this // to use the support provided by Xcode, especially for the Xcode4 support -- cgit v1.2.3