From ff22c99547818379dba286d6b48725b12c3b2295 Mon Sep 17 00:00:00 2001 From: smolnar Date: Mon, 14 Dec 2020 23:17:27 +0200 Subject: [PATCH] Backed out changeset 092f0ef9b7cf (bug 1681445) for causing bustage in TimeStamp_posix. CLOSED TREE --- js/src/old-configure.in | 2 +- old-configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/old-configure.in b/js/src/old-configure.in index 531e0323f1f2..ab899d30cb08 100644 --- a/js/src/old-configure.in +++ b/js/src/old-configure.in @@ -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 ], [ struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); ], diff --git a/old-configure.in b/old-configure.in index 1a00872552f0..26e3d65079d9 100644 --- a/old-configure.in +++ b/old-configure.in @@ -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 ], [ struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); ],