mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1681445 - Fix CLOCK_MONOTONIC test by fixing typo from bug 1524461. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D99192
This commit is contained in:
parent
8ed133be47
commit
a8adc74c74
@ -918,7 +918,7 @@ AC_CACHE_CHECK(for clock_gettime(CLOCK_MONOTONIC),
|
||||
dnl clock_gettime is available on OSX since 10.12, so depending on MACOSX_DEPLOYMENT_TARGET,
|
||||
dnl we should or not be able to use it. To detect if we can, we need to make the
|
||||
dnl availability attribute strict, so that compilation fails when the target is < 10.12.
|
||||
AC_TRY_LINK([#define availability(os, ...) availability(os, strict, __VA_ARGS)
|
||||
AC_TRY_LINK([#define availability(os, ...) availability(os, strict, __VA_ARGS__)
|
||||
#include <time.h>],
|
||||
[ struct timespec ts;
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts); ],
|
||||
|
@ -1147,7 +1147,7 @@ AC_CACHE_CHECK(for clock_gettime(CLOCK_MONOTONIC),
|
||||
dnl clock_gettime is available on OSX since 10.12, so depending on MACOSX_DEPLOYMENT_TARGET,
|
||||
dnl we should or not be able to use it. To detect if we can, we need to make the
|
||||
dnl availability attribute strict, so that compilation fails when the target is < 10.12.
|
||||
AC_TRY_LINK([#define availability(os, ...) availability(os, strict, __VA_ARGS)
|
||||
AC_TRY_LINK([#define availability(os, ...) availability(os, strict, __VA_ARGS__)
|
||||
#include <time.h>],
|
||||
[ struct timespec ts;
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts); ],
|
||||
|
Loading…
Reference in New Issue
Block a user