From b2bb51f3396de4f4ef97d4c129bc42e432f8a695 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 31 Oct 2014 12:32:38 +0100 Subject: 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 --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3