]> granicus.if.org Git - libevent/commitdiff
Fix detection of timerfd_create() in CMake.
authorShuo Chen <chenshuo@chenshuo.com>
Sun, 12 Mar 2017 09:00:41 +0000 (01:00 -0800)
committerAzat Khuzhin <azat@libevent.org>
Sat, 2 Feb 2019 12:13:49 +0000 (15:13 +0300)
(cherry picked from commit 65870949e7ce8110cb987cdeaa432c482cd9aabc)

CMakeLists.txt

index 6bd188c9bef0843a929153edfc67b3c39ae0d944..403804f6d9154a77643cfb45452aaed17c8f1200 100644 (file)
@@ -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)