tccpe: build IAT vector with with -run too
[tinycc/k1w1.git] / win32 / include / stdarg.h
blob31c15095b15efd895530ea20ce210a31431c5433
1 #ifndef _STDARG_H
2 #define _STDARG_H
4 #ifndef _VA_LIST
5 #define _VA_LIST
6 typedef char *va_list;
7 #endif
9 /* only correct for i386 */
10 #define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)
11 #define va_arg(ap,type) (ap += (sizeof(type)+3)&~3, *(type *)(ap - ((sizeof(type)+3)&~3)))
12 #define va_copy(dest, src) (dest) = (src)
13 #define va_end(ap)
15 /* fix a buggy dependency on GCC in libio.h */
16 typedef va_list __gnuc_va_list;
17 #define _VA_LIST_DEFINED
19 #endif