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:
parent
19aed3ee56
commit
3b3c7db8df
@ -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>
|
2008-04-14 Steven Schubiger <schubiger@gmail.com>
|
||||||
|
|
||||||
* http.c: Use Gnulib's quote function for printing filenames and
|
* http.c: Use Gnulib's quote function for printing filenames and
|
||||||
|
@ -68,7 +68,7 @@ as that of the covered work. */
|
|||||||
|
|
||||||
/* For Solaris: request everything else that is available and doesn't
|
/* For Solaris: request everything else that is available and doesn't
|
||||||
conflict with the above. */
|
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
|
/* For Linux: request features of 4.3BSD and SVID (System V Interface
|
||||||
Definition). */
|
Definition). */
|
||||||
@ -78,7 +78,7 @@ as that of the covered work. */
|
|||||||
/* Under glibc-based systems we want all GNU extensions as well. This
|
/* Under glibc-based systems we want all GNU extensions as well. This
|
||||||
declares some unnecessary cruft, but also useful functions such as
|
declares some unnecessary cruft, but also useful functions such as
|
||||||
timegm, FNM_CASEFOLD extension to fnmatch, memrchr, etc. */
|
timegm, FNM_CASEFOLD extension to fnmatch, memrchr, etc. */
|
||||||
#define _GNU_SOURCE
|
/* #define _GNU_SOURCE */ /* XXX clashes with config.h */
|
||||||
|
|
||||||
#endif /* NAMESPACE_TWEAKS */
|
#endif /* NAMESPACE_TWEAKS */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user