Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6da5edb

Browse files
author
Ivan Baidakou
committed
Remove unused check for socket existance
1 parent 59850c3 commit 6da5edb

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ if(NOT UNIX)
2020
CHECK_INCLUDE_FILE("ws2tcpip.h" HAVE_WS2TCPIP_H)
2121
endif(NOT UNIX)
2222

23-
# check for functions
24-
include (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
25-
check_function_exists (closesocket HAVE_CLOSE_SOCKET)
26-
2723

2824
include_directories ("${PROJECT_SOURCE_DIR}/src")
2925
add_subdirectory (src)

src/StatsdClientConfig.h.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88

99
#cmakedefine HAVE_WINSOCK2_H
1010
#cmakedefine HAVE_WS2TCPIP_H
11-
#cmakedefine HAVE_CLOSE_SOCKET

0 commit comments

Comments
 (0)