suppressed ch1 and preparser
[tinycc.git] / stdarg.h
blob37cec190b1166e9db6ecb5dc9e492cfc32dd7953
1 #ifndef _STDARG_H
2 #define _STDARG_H
4 typedef char *va_list;
6 /* only correct for i386 */
7 #define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)
8 #define va_arg(ap,type) (ap += (sizeof(type)+3)&~3, *(type *)(ap - ((sizeof(type)+3)&~3)))
9 #define va_end(ap)
11 /* fix a buggy dependency on GCC in libio.h */
12 typedef va_list __gnuc_va_list;
14 #endif