summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/__config4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 5bb55fa10a2..ab066d88993 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -653,8 +653,8 @@ template <unsigned> struct __static_assert_check {};
#endif
#if !defined(__APPLE__) && \
- ((!defined(_POSIX_TIMERS) || _POSIX_TIMERS <= 0) || \
- (!defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK <= 0))
+ ((!defined(_POSIX_TIMERS) || _POSIX_TIMERS < 0) || \
+ (!defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0))
#define _LIBCPP_HAS_NO_MONOTONIC_CLOCK
#endif
OpenPOWER on IntegriCloud