Skip to content
Snippets Groups Projects
Commit ea1b8811 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Restored check for gettimeofday to fix OS X build.

Change-Id: I99e14ee1c42599f4b9d13e97824aa454025f0219
parent 1436c9dd
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ AC_TYPE_SSIZE_T ...@@ -186,7 +186,7 @@ AC_TYPE_SSIZE_T
AC_DEFINE([DSFMT_MEXP], [521], [DSFMT parameters.]) AC_DEFINE([DSFMT_MEXP], [521], [DSFMT parameters.])
# Checks for library functions. # Checks for library functions.
AC_CHECK_FUNCS([clock_gettime epoll_wait fgetln getline kqueue madvise poll posix_memalign pselect pthread_setaffinity_np regcomp select sendmmsg setgroups]) AC_CHECK_FUNCS([clock_gettime gettimeofday epoll_wait fgetln getline kqueue madvise poll posix_memalign pselect pthread_setaffinity_np regcomp select sendmmsg setgroups])
# Check for cpu_set_t/cpuset_t compatibility # Check for cpu_set_t/cpuset_t compatibility
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], [[cpu_set_t set; CPU_ZERO(&set);]])], AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], [[cpu_set_t set; CPU_ZERO(&set);]])],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment