summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/dietstdarg.h
blob: 827671b22b531282e2521b75ab76c2dc7bf30c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdarg.h>

/* this assumes that va_copy() will be a macro, it is on gcc */
#ifndef va_copy
# ifdef __va_copy
#  define va_copy(x, y) __va_copy(x, y)
# else
/* assume copying it works... */
#  define va_copy(x, y) x = y
# endif
#endif