0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 06:41:03 +08:00

build: fix gethrtime() function check in CMake

This looks like a typo introduced by
2d8ef84760b673d90db331e077fac369665cdbbd.
This commit is contained in:
fanquake 2020-07-07 21:45:08 +08:00
parent 1529ffbf42
commit c14817075c
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -586,7 +586,7 @@ if(NOT MSVC)
set(CMAKE_REQUIRED_LIBRARIES)
check_cxx_symbol_exists(fork unistd.h HAVE_FORK)
check_cxx_symbol_exists(gethrtimei sys/time.h HAVE_GETHRTIME)
check_cxx_symbol_exists(gethrtime sys/time.h HAVE_GETHRTIME)
check_cxx_symbol_exists(mkdtemp stdlib.h HAVE_MKDTEMP)
check_cxx_symbol_exists(accept4 sys/socket.h HAVE_ACCEPT4)
check_cxx_symbol_exists(strnlen string.h HAVE_STRNLEN)