Skip to content

Commit 92f5637

Browse files
committed
Improve compatibility with MacOS X.
1 parent 1909a88 commit 92f5637

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runtime/include/stdarg.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ typedef __builtin_va_list __gnuc_va_list;
4545

4646
#ifdef _STDARG_H
4747

48+
#ifndef _VA_LIST_T
49+
#define _VA_LIST_T
4850
typedef __builtin_va_list va_list;
51+
#endif
4952

5053
#define va_start(v,l) __builtin_va_start(v,l)
5154
#define va_end(v) __builtin_va_end(v)

0 commit comments

Comments
 (0)