win32: guard va_list typedef

This commit is contained in:
grischka 2009-06-17 02:11:40 +02:00
parent c4b7e77bbe
commit ec4a350620

View File

@ -1,7 +1,10 @@
#ifndef _STDARG_H
#define _STDARG_H
#ifndef _VA_LIST
#define _VA_LIST
typedef char *va_list;
#endif
/* only correct for i386 */
#define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)