16 lines
489 B
C
16 lines
489 B
C
#ifndef _LIBGCCVB_STDARG_H_
|
|
#define _LIBGCCVB_STDARG_H_
|
|
|
|
#ifndef _VA_LIST
|
|
#define _VA_LIST
|
|
typedef char *va_list;
|
|
#endif
|
|
|
|
//#define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? \
|
|
// (char *)((int *)&(start)+1) : (char *)(&(start)+1))))
|
|
#define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? (char *)((int *)&(start)+1) : (char *)(&(start)+1))))
|
|
#define va_end(list) ((void)0)
|
|
#define va_arg(list, mode) *(mode *)(&(list = (char*)(((int)list + 7)&~3U))[-4])
|
|
|
|
|
|
#endif |