summaryrefslogtreecommitdiff
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
commit81339cff831fac19a31b7df9e9047f934db3e864 (patch)
tree2dddeb44f2a9568946715ea20273fd6f4c22c465
parent6fdde8764097baee5612342166099925176ea84f (diff)
downloadlibcxx_35a-81339cff831fac19a31b7df9e9047f934db3e864.tar.gz
Use defined(__APPLE__) rather than __APPLE__
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@205150 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/__config5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/__config b/include/__config
index 63580ae2..33254e98 100644
--- a/include/__config
+++ b/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