From 8db46085a0e56b43a322ccb9f09a88c1d2973c54 Mon Sep 17 00:00:00 2001 From: hniksic Date: Mon, 11 Apr 2005 06:04:08 -0700 Subject: [PATCH] [svn] Don't define _VA_LIST; it breaks compilation with GCC under Solaris 10. --- src/ChangeLog | 6 ++++++ src/config-post.h | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 127d5df5..63385a94 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2005-04-11 Hrvoje Niksic + + * 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 * xmalloc.c (register_ptr): Warn the user to increase SZ prior to diff --git a/src/config-post.h b/src/config-post.h index 5107c95b..fe35226a 100644 --- a/src/config-post.h +++ b/src/config-post.h @@ -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__