aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2014-10-31 12:32:38 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-11-03 09:10:54 +0100
commitb2bb51f3396de4f4ef97d4c129bc42e432f8a695 (patch)
tree435400bb4f8e47960276ca4d0400786fbddedff5 /CMakeLists.txt
parentc5d25b22e4b77b4870aaa9eedb671fd9d7b17bb3 (diff)
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>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b99751029..cbf6c0e4c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)