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); ],