[libcxx] r250508 - Fix an unfortunate yet old typo that never got attention before r250507.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 04:26:26 PDT 2015


Author: d0k
Date: Fri Oct 16 06:26:26 2015
New Revision: 250508

URL: http://llvm.org/viewvc/llvm-project?rev=250508&view=rev
Log:
Fix an unfortunate yet old typo that never got attention before r250507.

Should fix the xcode libc++ build.

Modified:
    libcxx/trunk/src/stdexcept.cpp

Modified: libcxx/trunk/src/stdexcept.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/stdexcept.cpp?rev=250508&r1=250507&r2=250508&view=diff
==============================================================================
--- libcxx/trunk/src/stdexcept.cpp (original)
+++ libcxx/trunk/src/stdexcept.cpp Fri Oct 16 06:26:26 2015
@@ -14,7 +14,7 @@
 #include "system_error"
 
 /* For _LIBCPPABI_VERSION */
-#if defined(LIBCXX_BUILDING_LIBCXXABI) || defined(__APPLE_) || defined(LIBCXXRT)
+#if defined(LIBCXX_BUILDING_LIBCXXABI) || defined(__APPLE__) || defined(LIBCXXRT)
 #include <cxxabi.h>
 #endif
 




More information about the cfe-commits mailing list