]> sjero.net Git - wget/blobdiff - src/config.h.in
[svn] Only define _VA_LIST when compiling with gcc.
[wget] / src / config.h.in
index 2252bdda5c8f7472aa623fc0577c2234bc2aaa59..da9ffc021cf6d884439100e351684e9f28546fef 100644 (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__