From 6079293feaa95bbf532dd75004c936566fc498f7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 26 Nov 2016 16:54:19 +0100 Subject: [PATCH] the _BSD_SOURCE macro was deprecated with glibc 2.12 --- src/platform.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/platform.h b/src/platform.h index d7a7e87e5..c781021ae 100644 --- a/src/platform.h +++ b/src/platform.h @@ -28,12 +28,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #define _XOPEN_SOURCE 700 #endif -// enable bsd string extensions, prior to glibc 2.12: -#ifndef _BSD_SOURCE -#define _BSD_SOURCE -#endif - -// enable bsd string extensions, since glibc 2.12: +// enable bsd string extensions, since glibc 2.12 (_BSD_SOURCE is dead): #ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L #endif