]> sjero.net Git - wget/commitdiff
Avoid redefined warnings caused by clashing defines.
authorsts <sts@kronos>
Wed, 16 Apr 2008 08:57:12 +0000 (10:57 +0200)
committersts <sts@kronos>
Wed, 16 Apr 2008 08:57:12 +0000 (10:57 +0200)
src/ChangeLog
src/sysdep.h

index 6ca006d763c87c449cbd59231a88364ecbba402e..d62ebcbe3e8748f775363d1608c675885bde00e6 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-16  Steven Schubiger  <schubiger@gmail.com>
+
+       * sysdep.h: Comment the defines __EXTENSIONS__ and _GNU_SOURCE 
+       out, because they're now defined independently by config.h.
+
 2008-04-14  Steven Schubiger  <schubiger@gmail.com>
 
        * http.c: Use Gnulib's quote function for printing filenames and
index ec50e0452c99635db37ea1ec40536c7d21b642ca..84301b78a9f563a27797554ba98f0911f01a17c3 100644 (file)
@@ -68,7 +68,7 @@ as that of the covered work.  */
 
 /* For Solaris: request everything else that is available and doesn't
    conflict with the above.  */
-#define __EXTENSIONS__
+/* #define __EXTENSIONS__ */ /* XXX clashes with config.h */
 
 /* For Linux: request features of 4.3BSD and SVID (System V Interface
    Definition). */
@@ -78,7 +78,7 @@ as that of the covered work.  */
 /* 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
+/* #define _GNU_SOURCE */ /* XXX clashes with config.h */
 
 #endif /* NAMESPACE_TWEAKS */