[libcxx] r217061 - Detection for _LIBCPP_HAS_NO_MONOTONIC_CLOCK caused several more build breakages

Jonathan Roelofs jonathan at codesourcery.com
Wed Sep 3 11:48:28 PDT 2014


Author: jroelofs
Date: Wed Sep  3 13:48:28 2014
New Revision: 217061

URL: http://llvm.org/viewvc/llvm-project?rev=217061&view=rev
Log:
Detection for _LIBCPP_HAS_NO_MONOTONIC_CLOCK caused several more build breakages

Remove it for now. This flag can be set in build scripts instead.

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=217061&r1=217060&r2=217061&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Wed Sep  3 13:48:28 2014
@@ -656,12 +656,6 @@ template <unsigned> struct __static_asse
 #  define _LIBCPP_TRIVIAL_PAIR_COPY_CTOR 1
 #endif
 
-#if !defined(__APPLE__) && \
-    ((!defined(_POSIX_TIMERS) || _POSIX_TIMERS < 0) || \
-     (!defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0))
-#define _LIBCPP_HAS_NO_MONOTONIC_CLOCK
-#endif
-
 #ifndef _LIBCPP_STD_VER
 #  if  __cplusplus <= 201103L
 #    define _LIBCPP_STD_VER 11





More information about the cfe-commits mailing list