Backed out changeset 092f0ef9b7cf (bug 1681445) for causing bustage in TimeStamp_posix. CLOSED TREE

This commit is contained in:
smolnar 2020-12-14 23:17:27 +02:00
Родитель 7ce119064d
Коммит ff22c99547
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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