cmake: drop _BSD_SOURCE macro usage

autotools does not use features.h nor _BSD_SOURCE. As this macro
triggers warnings since glibc 2.20, remove it. It should not have
functional differences.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Peter Wu
2014-10-31 12:32:38 +01:00
committed by Daniel Stenberg
parent c5d25b22e4
commit b2bb51f339
3 changed files with 0 additions and 23 deletions

View File

@@ -508,9 +508,6 @@ if(CMAKE_USE_GSSAPI)
endif()
endif()
# If we have features.h, then do the _BSD_SOURCE magic
check_include_file("features.h" HAVE_FEATURES_H)
# Check for header files
if(NOT UNIX)
check_include_file_concat("ws2tcpip.h" HAVE_WS2TCPIP_H)