]> sjero.net Git - wget/commitdiff
Remove _SVID_SOURCE and _BSD_SOURCE definition.
authorGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 31 May 2010 09:56:06 +0000 (11:56 +0200)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 31 May 2010 09:56:06 +0000 (11:56 +0200)
src/ChangeLog
src/sysdep.h

index d836b2c0e61552a98b643f8a2639ea8a1e769300..bf68aa09963757335e9846f93f4e2f306a92583f 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * sysdep.h (_SVID_SOURCE): Remove definition.
+       (_BSD_SOURCE): Remove definition.
+
 2010-05-31  Giuseppe Scrivano  <gscrivano@gnu.org>
 
        * recur.c (retrieve_tree): Remove variable `up_error_code'.
index 066ef864c1d16cf014c2d0629ade5cc21ae66ab8..3eeef069570e1699d7b0948a97f28b2972517304 100644 (file)
@@ -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 */