diff options
-rw-r--r-- | CMakeLists.txt | 9 | ||||
-rw-r--r-- | cmake/config.h.in | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e623a9..892eae9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,15 +98,6 @@ cmake_pop_check_state() cmake_push_check_state() set(CMAKE_REQUIRED_LIBRARIES ${SOCKET_LIBRARIES}) -if (WIN32) - check_symbol_exists(htonll Winsock2.h HAVE_HTONLL) -else (WIN32) - check_symbol_exists(htonll arpa/inet.h HAVE_HTONLL) -endif (WIN32) -cmake_pop_check_state() - -cmake_push_check_state() -set(CMAKE_REQUIRED_LIBRARIES ${SOCKET_LIBRARIES}) check_symbol_exists(poll poll.h HAVE_POLL) if (NOT HAVE_POLL) if (WIN32) diff --git a/cmake/config.h.in b/cmake/config.h.in index a7e5a2c..34cb9b2 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -6,8 +6,6 @@ # define inline ${C_INLINE_KEYWORD} #endif -#cmakedefine HAVE_HTONLL - #cmakedefine HAVE_SELECT #cmakedefine HAVE_POLL |