attachment #1827 (https://bugs.freedesktop.org/attachment.cgi?id=1827):
    check for va_copy not being defined and use __va_copy if available
This commit is contained in:
Alexander Gottwald 2005-02-03 09:58:47 +00:00
parent 3dda2fe0e2
commit 5feca068d7

View File

@ -31,6 +31,14 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#ifndef va_copy
# ifdef __va_copy
# define va_copy __va_copy
# else
# error "no working va_copy was found"
# endif
#endif
char * char *
Xvprintf(const char *format, va_list va) Xvprintf(const char *format, va_list va)
{ {