diff options
Diffstat (limited to 'js/src/threading/posix/ConditionVariable.cpp')
-rw-r--r-- | js/src/threading/posix/ConditionVariable.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/threading/posix/ConditionVariable.cpp b/js/src/threading/posix/ConditionVariable.cpp index 6189fab989..fe768eae3b 100644 --- a/js/src/threading/posix/ConditionVariable.cpp +++ b/js/src/threading/posix/ConditionVariable.cpp @@ -22,9 +22,8 @@ using mozilla::TimeStamp; static const long NanoSecPerSec = 1000000000; -// Android 32-bit & macOS 10.12 has the clock functions, but not pthread_condattr_setclock. -#if defined(HAVE_CLOCK_MONOTONIC) && \ - !(defined(__ANDROID__) && !defined(__LP64__)) && !defined(__APPLE__) +// MacOS 10.12 has the clock functions, but not pthread_condattr_setclock. +#if defined(HAVE_CLOCK_MONOTONIC) && !defined(__APPLE__) # define USE_CLOCK_API #endif |