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

[svn] Only define _VA_LIST when compiling with gcc.

Published in <sxsit6w1x5t.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2002-04-12 13:27:18 -07:00
parent 4aaf8fdcea
commit faf77c8f51
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
* config.h.in: Only define _VA_LIST when compiled with gcc.
2002-04012 Ian Abbott <abbotti@mev.co.uk>
* http.c (http_loop): Compensate for MS Windows two-second
@ -18,6 +22,7 @@
* recur.c (download_child_p): Ditto.
>>>>>>> 1.382
2002-04-12 Hrvoje Niksic <hniksic@arsdigita.com>
* config.h.in: Define _VA_LIST on Solaris to prevent stdio.h from

View File

@ -257,8 +257,11 @@ char *alloca ();
#ifdef solaris
# define NAMESPACE_TWEAKS
/* Prevent stdio.h from declaring va_list. */
# define _VA_LIST
# ifdef __GNUC__
/* Prevent stdio.h from declaring va_list and thus tripping gcc's
stdarg.h. */
# define _VA_LIST
# endif
#endif
#ifdef __linux__