bellardglibc compat fix50f0ae623 years agoHistory
15 lines · 385 B · C
RawDownload
#ifndef _STDARG_H#define _STDARG_H typedef char *va_list; /* only correct for i386 */#define va_start(ap,last) ap = ((char *)&(last)) + ((sizeof(last)+3)&~3)#define va_arg(ap,type) (ap += (sizeof(type)+3)&~3, *(type *)(ap - ((sizeof(type)+3)&~3)))#define va_end(ap) /* fix a buggy dependency on GCC in libio.h */typedef va_list __gnuc_va_list;#define _VA_LIST_DEFINED #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t