Kevin Rodgers <[EMAIL PROTECTED]> writes:

>>Could you please try (2) and see if it works out?
>
> OK, (2) also works (but it's _VA_LIST, not _VA_ALIST):
[...]

Thanks.  This is the patch I'm about to apply:

2002-04-12  Hrvoje Niksic  <[EMAIL PROTECTED]>

        * config.h.in: Define _VA_LIST on Solaris to prevent stdio.h from
        declaring va_list.
        From Kevin Rodgers <[EMAIL PROTECTED]>.

Index: src/config.h.in
===================================================================
RCS file: /pack/anoncvs/wget/src/config.h.in,v
retrieving revision 1.21
diff -u -r1.21 config.h.in
--- src/config.h.in     2002/04/12 01:14:18     1.21
+++ src/config.h.in     2002/04/12 18:33:48
@@ -257,6 +257,8 @@
 
 #ifdef solaris
 # define NAMESPACE_TWEAKS
+/* Prevent stdio.h from declaring va_list. */
+# define _VA_LIST
 #endif
 
 #ifdef __linux__

Reply via email to