зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1307723 - Use USE_CLOCK_API on Android 64-bit. r=terrence
MozReview-Commit-ID: GTPaqSbkh9T
This commit is contained in:
Родитель
c23e011297
Коммит
a63d9581cc
|
@ -23,8 +23,9 @@ using mozilla::TimeStamp;
|
||||||
|
|
||||||
static const long NanoSecPerSec = 1000000000;
|
static const long NanoSecPerSec = 1000000000;
|
||||||
|
|
||||||
// Android & macOS 10.12 has the clock functions, but not pthread_condattr_setclock.
|
// Android 32-bit & macOS 10.12 has the clock functions, but not pthread_condattr_setclock.
|
||||||
#if defined(HAVE_CLOCK_MONOTONIC) && !defined(__ANDROID__) && !defined(__APPLE__)
|
#if defined(HAVE_CLOCK_MONOTONIC) && \
|
||||||
|
!(defined(__ANDROID__) && !defined(__LP64__)) && !defined(__APPLE__)
|
||||||
# define USE_CLOCK_API
|
# define USE_CLOCK_API
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче