Note that for non-ANSI C programs, stdio.h includes stdarg.h which defines macros that stdio.h wasn't supposed to define.
10 lines
300 B
C
10 lines
300 B
C
#ifndef _VALIST_DECL
|
|
#define _VALIST_DECL
|
|
#define va_start(v,l) __builtin_va_start(v,l)
|
|
#define va_arg(v,l) __builtin_va_arg(v,l)
|
|
#define va_end(v) __builtin_va_end(v)
|
|
#define va_copy(d,s) __builtin_va_copy(d,s)
|
|
typedef __builtin_va_list __gnuc_va_list;
|
|
typedef __gnuc_va_list va_list;
|
|
#endif
|