diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/types.h b/src/include/types.h index 373a3b5..18efff8 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -15,4 +15,11 @@ typedef long int ptrdiff_t; #define NULL 0 +// Use internal GCC structures for variadic functions +#define va_start(v,l) __builtin_va_start(v,l) +#define va_arg(v,l) __builtin_va_arg(v,l) +#define va_end(v) __builtin_va_end(v) +#define va_copy(d,s) __builtin_va_copy(d,s) +typedef __builtin_va_list va_list; + #endif |