1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Avoid redefined warnings caused by clashing defines.

This commit is contained in:
sts 2008-04-16 10:57:12 +02:00
parent 19aed3ee56
commit 3b3c7db8df
2 changed files with 7 additions and 2 deletions

View 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

View 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 */