initial commit!
This commit is contained in:
16
libs/libgccvb/stdarg.h
Normal file
16
libs/libgccvb/stdarg.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user