From: Shuo Chen Date: Sun, 12 Mar 2017 09:00:41 +0000 (-0800) Subject: Fix detection of timerfd_create() in CMake. X-Git-Tag: release-2.1.9-beta^2~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e50af3315a55b46d47c62c777d32b46015e90240;p=libevent Fix detection of timerfd_create() in CMake. (cherry picked from commit 65870949e7ce8110cb987cdeaa432c482cd9aabc) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bd188c9..403804f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -350,7 +350,7 @@ CHECK_FUNCTION_EXISTS_EX(usleep EVENT__HAVE_USLEEP) CHECK_FUNCTION_EXISTS_EX(timeradd EVENT__HAVE_TIMERADD) CHECK_FUNCTION_EXISTS_EX(timerclear EVENT__HAVE_TIMERCLEAR) CHECK_FUNCTION_EXISTS_EX(timercmp EVENT__HAVE_TIMERCMP) -CHECK_FUNCTION_EXISTS_EX(timerfd_create HAVE_TIMERFD_CREATE) +CHECK_FUNCTION_EXISTS_EX(timerfd_create EVENT__HAVE_TIMERFD_CREATE) CHECK_FUNCTION_EXISTS_EX(timerisset EVENT__HAVE_TIMERISSET) CHECK_FUNCTION_EXISTS_EX(putenv EVENT__HAVE_PUTENV) CHECK_FUNCTION_EXISTS_EX(setenv EVENT__HAVE_SETENV)