[libcxx] r205150 - Use defined(__APPLE__) rather than __APPLE__

Tim Northover tnorthover at apple.com
Sun Mar 30 07:59:12 PDT 2014


Author: tnorthover
Date: Sun Mar 30 09:59:12 2014
New Revision: 205150

URL: http://llvm.org/viewvc/llvm-project?rev=205150&view=rev
Log:
Use defined(__APPLE__) rather than __APPLE__

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=205150&r1=205149&r2=205150&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Sun Mar 30 09:59:12 2014
@@ -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_asse
 #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
 





More information about the cfe-commits mailing list