[svn] Don't define _VA_LIST; it breaks compilation with GCC under Solaris 10.

This commit is contained in:
hniksic 2005-04-11 06:04:08 -07:00
parent 4dc559af46
commit 8db46085a0
2 changed files with 6 additions and 5 deletions

View 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

View 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__