fix VA_COPY

This commit is contained in:
Ron Pedde 2007-08-12 08:43:27 +00:00
parent 17afc25676
commit 40956ee0f9
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ char *util_asprintf(char *fmt, ...) {
# ifdef HAVE___VA_COPY # ifdef HAVE___VA_COPY
# define VA_COPY(a,b) __va_copy((a),(b)) # define VA_COPY(a,b) __va_copy((a),(b))
# else # else
# define VA_COPY(a,b) a=b; # define VA_COPY(a,b) memcpy((a),(b),sizeof(b))
# endif # endif
#endif #endif