]> sjero.net Git - wget/commitdiff
[svn] Don't define _VA_LIST; it breaks compilation with GCC under Solaris 10.
authorhniksic <devnull@localhost>
Mon, 11 Apr 2005 13:04:08 +0000 (06:04 -0700)
committerhniksic <devnull@localhost>
Mon, 11 Apr 2005 13:04:08 +0000 (06:04 -0700)
src/ChangeLog
src/config-post.h

index 127d5df5336a307af0ce87b5ac5051365220fc43..63385a9433a4d5b17be7a6ab3d54fb3c134fae94 100644 (file)
@@ -1,3 +1,9 @@
+2005-04-11  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h: Don't define _VA_LIST under Solaris; it breaks
+       compilation with GCC 3.4 under Solaris 10.  (It was defined to
+       avoid a warning with previous versions of GCC.)
+
 2005-04-11  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * xmalloc.c (register_ptr): Warn the user to increase SZ prior to
index 5107c95ba4ac1c9101e49c923783efb8601344fb..fe35226af235e638428bde4cb14f2e380f0b4334 100644 (file)
@@ -39,11 +39,6 @@ void *alloca ();
 
 #ifdef solaris
 # define NAMESPACE_TWEAKS
-# ifdef __GNUC__
-/* Prevent stdio.h from declaring va_list and thus tripping gcc's
-   stdarg.h. */
-#  define _VA_LIST
-# endif
 #endif
 
 #ifdef __linux__