summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-03-30 14:59:12 +0000
committerTim Northover <tnorthover@apple.com>2014-03-30 14:59:12 +0000
commit4b9a505a5eeb970b1cdd518274d5710dd134f68f (patch)
treee6eba70c6343a6d29601e05fb3ec6e32f08287ba
parent705cd965e3b09ac3d12a21f45d24140daa9afded (diff)
downloadbcm5719-llvm-4b9a505a5eeb970b1cdd518274d5710dd134f68f.tar.gz
bcm5719-llvm-4b9a505a5eeb970b1cdd518274d5710dd134f68f.zip
Use defined(__APPLE__) rather than __APPLE__
llvm-svn: 205150
-rw-r--r--libcxx/include/__config5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 63580ae2a9a..33254e98456 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -203,7 +203,8 @@
#if defined(__clang__)
-#if __APPLE__ && !defined(__i386__) && !defined(__x86_64__) && !defined(__arm__)
+#if defined(__APPLE__) && !defined(__i386__) && !defined(__x86_64__) && \
+ !defined(__arm__)
#define _LIBCPP_ALTERNATE_STRING_LAYOUT
#endif
@@ -568,7 +569,7 @@ template <unsigned> struct __static_assert_check {};
#define _LIBCPP_EXTERN_TEMPLATE2(...) extern template __VA_ARGS__;
#endif
-#if __APPLE__ && defined(__LP64__) && !defined(__x86_64__)
+#if defined(__APPLE__) && defined(__LP64__) && !defined(__x86_64__)
#define _LIBCPP_NONUNIQUE_RTTI_BIT (1ULL << 63)
#endif
OpenPOWER on IntegriCloud