[libcxx] r228266 - Fix some -Wundef issues.

Dan Albert danalbert at google.com
Wed Feb 4 18:35:00 PST 2015


Author: danalbert
Date: Wed Feb  4 20:34:59 2015
New Revision: 228266

URL: http://llvm.org/viewvc/llvm-project?rev=228266&view=rev
Log:
Fix some -Wundef issues.

Modified:
    libcxx/trunk/include/__refstring

Modified: libcxx/trunk/include/__refstring
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__refstring?rev=228266&r1=228265&r2=228266&view=diff
==============================================================================
--- libcxx/trunk/include/__refstring (original)
+++ libcxx/trunk/include/__refstring Wed Feb  4 20:34:59 2015
@@ -13,7 +13,7 @@
 #include <__config>
 #include <cstddef>
 #include <cstring>
-#if __APPLE__
+#ifdef __APPLE__
 #include <dlfcn.h>
 #include <mach-o/dyld.h>
 #endif
@@ -49,7 +49,7 @@ private:
         return data + sizeof(*rep);
     }
 
-#if __APPLE__
+#ifdef __APPLE__
     static
     const char*
     compute_gcc_empty_string_storage() _NOEXCEPT





More information about the cfe-commits mailing list