[libcxx] r240412 - When building libc++, we use '"' as a delimiter instead of '<' when including libc++ header files. This is so that the dylib gets built with our headers; rather than the system-installed ones. We do this in most places already, just fixing a couple of inconsistent uses.

Marshall Clow mclow.lists at gmail.com
Tue Jun 23 07:45:02 PDT 2015


Author: marshall
Date: Tue Jun 23 09:45:02 2015
New Revision: 240412

URL: http://llvm.org/viewvc/llvm-project?rev=240412&view=rev
Log:
When building libc++, we use '"' as a delimiter instead of '<' when including libc++ header files. This is so that the dylib gets built with our headers; rather than the system-installed ones. We do this in most places already, just fixing a couple of inconsistent uses.

Modified:
    libcxx/trunk/src/chrono.cpp
    libcxx/trunk/src/locale.cpp

Modified: libcxx/trunk/src/chrono.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/chrono.cpp?rev=240412&r1=240411&r2=240412&view=diff
==============================================================================
--- libcxx/trunk/src/chrono.cpp (original)
+++ libcxx/trunk/src/chrono.cpp Tue Jun 23 09:45:02 2015
@@ -8,9 +8,9 @@
 //===----------------------------------------------------------------------===//
 
 #include "chrono"
-#include <cerrno>  // errno
-#include <system_error>  // __throw_system_error
-#include <time.h>  // clock_gettime, CLOCK_MONOTONIC and CLOCK_REALTIME
+#include "cerrno"        // errno
+#include "system_error"  // __throw_system_error
+#include <time.h>        // clock_gettime, CLOCK_MONOTONIC and CLOCK_REALTIME
 
 #if !defined(CLOCK_REALTIME)
 #include <sys/time.h>        // for gettimeofday and timeval

Modified: libcxx/trunk/src/locale.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/locale.cpp?rev=240412&r1=240411&r2=240412&view=diff
==============================================================================
--- libcxx/trunk/src/locale.cpp (original)
+++ libcxx/trunk/src/locale.cpp Tue Jun 23 09:45:02 2015
@@ -27,7 +27,7 @@
 #include "cwctype"
 #include "__sso_allocator"
 #if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
-#include <support/win32/locale_win32.h>
+#include "support/win32/locale_win32.h"
 #elif !defined(__ANDROID__)
 #include <langinfo.h>
 #endif





More information about the cfe-commits mailing list