home *** CD-ROM | disk | FTP | other *** search
- #ifndef _STDARG_H
- #define _STDARG_H 1
-
- #ifndef _VA_LIST
- #define _VA_LIST 1
- typedef char *va_list;
- #endif
-
- #define va_start(a,b) a=(char *)(&b+1)
- #define va_arg(a,b) (*((b *) ((a += ((sizeof(b)+sizeof(int)-1) & ~(sizeof(int)-1)) ) - ((sizeof(b)+sizeof(int)-1) & ~(sizeof(int)-1)) )))
- #define va_end(a)
-
- #endif
-