From 9ace11003f1b5c161305cd0081e35e5f69a02088 Mon Sep 17 00:00:00 2001 From: "stuartmorgan@chromium.org" Date: Mon, 2 Jul 2012 15:28:13 +0000 Subject: Fix OS_IOS definition TARGET_OS_IOS is always defined, either to 1 or 0, so defined() isn't the right check. BUG=None TEST=None Review URL: https://chromiumcodereview.appspot.com/10697053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145148 0039d316-1c4b-4281-b951-d872f2087c98 --- build/build_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/build_config.h b/build/build_config.h index 08e35b8..1c2c14c 100644 --- a/build/build_config.h +++ b/build/build_config.h @@ -21,9 +21,9 @@ // A set of macros to use for platform detection. #if defined(__APPLE__) #define OS_MACOSX 1 -#if defined(TARGET_OS_IPHONE) +#if TARGET_OS_IPHONE #define OS_IOS 1 -#endif // defined(TARGET_OS_IPHONE) +#endif // TARGET_OS_IPHONE #elif defined(ANDROID) #define OS_ANDROID 1 #elif defined(__native_client__) -- cgit v1.1