From f747e7344598c0c8e3ff1e88943dd671da358fe4 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 31 May 2010 11:56:06 +0200 Subject: [PATCH] Remove _SVID_SOURCE and _BSD_SOURCE definition. --- src/ChangeLog | 5 +++++ src/sysdep.h | 14 -------------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d836b2c0..bf68aa09 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-05-31 Giuseppe Scrivano + + * sysdep.h (_SVID_SOURCE): Remove definition. + (_BSD_SOURCE): Remove definition. + 2010-05-31 Giuseppe Scrivano * recur.c (retrieve_tree): Remove variable `up_error_code'. diff --git a/src/sysdep.h b/src/sysdep.h index 066ef864..3eeef069 100644 --- a/src/sysdep.h +++ b/src/sysdep.h @@ -70,20 +70,6 @@ as that of the covered work. */ /* Request the "Unix 98 compilation environment". */ #define _XOPEN_SOURCE 500 -/* For Solaris: request everything else that is available and doesn't - conflict with the above. */ -/* #define __EXTENSIONS__ */ /* XXX clashes with config.h */ - -/* For Linux: request features of 4.3BSD and SVID (System V Interface - Definition). */ -#define _SVID_SOURCE -#define _BSD_SOURCE - -/* Under glibc-based systems we want all GNU extensions as well. This - declares some unnecessary cruft, but also useful functions such as - timegm, FNM_CASEFOLD extension to fnmatch, memrchr, etc. */ -/* #define _GNU_SOURCE */ /* XXX clashes with config.h */ - #endif /* NAMESPACE_TWEAKS */ -- 2.39.2