* vasprintf.c (va_copy): Define macro if not yet defined.

This commit is contained in:
Werner Koch 2002-08-29 11:58:22 +00:00
parent c642b7d54a
commit 1fcc363243

View File

@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
#include <stdarg.h> #include <stdarg.h>
#ifndef va_copy #ifndef va_copy /* accroding to POSIX, va_copy is a macro */
#if defined (__GNUC__) && defined (__PPC__) \ #if defined (__GNUC__) && defined (__PPC__) \
&& (defined (_CALL_SYSV) || defined (_WIN32)) && (defined (_CALL_SYSV) || defined (_WIN32))
#define va_copy(d, s) (*(d) = *(s)) #define va_copy(d, s) (*(d) = *(s))