зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 092f0ef9b7cf (bug 1681445) for causing bustage in TimeStamp_posix. CLOSED TREE
This commit is contained in:
Родитель
7ce119064d
Коммит
ff22c99547
|
@ -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); ],
|
||||
|
|
Загрузка…
Ссылка в новой задаче