mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-07 20:08:41 +08:00
win32: guard va_list typedef
This commit is contained in:
parent
c4b7e77bbe
commit
ec4a350620
@ -1,7 +1,10 @@
|
|||||||
#ifndef _STDARG_H
|
#ifndef _STDARG_H
|
||||||
#define _STDARG_H
|
#define _STDARG_H
|
||||||
|
|
||||||
|
#ifndef _VA_LIST
|
||||||
|
#define _VA_LIST
|
||||||
typedef char *va_list;
|
typedef char *va_list;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* only correct for i386 */
|
/* only correct for i386 */
|
||||||
#define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)
|
#define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user