diff --git a/include/psxtypes/arch/nt32/ntalltypes.h b/include/psxtypes/arch/nt32/ntalltypes.h index f6d0718..af3e899 100644 --- a/include/psxtypes/arch/nt32/ntalltypes.h +++ b/include/psxtypes/arch/nt32/ntalltypes.h @@ -178,3 +178,8 @@ typedef double double_t; #endif typedef __CUSTOM_OR_BUILTIN_va_list__ va_list; + +#define va_start(v,l) __builtin_va_start(v,l) +#define va_end(v) __builtin_va_end(v) +#define va_arg(v,l) __builtin_va_arg(v,l) +#define va_copy(d,s) __builtin_va_copy(d,s) diff --git a/include/psxtypes/arch/nt64/ntalltypes.h b/include/psxtypes/arch/nt64/ntalltypes.h index 20ddb75..330b580 100644 --- a/include/psxtypes/arch/nt64/ntalltypes.h +++ b/include/psxtypes/arch/nt64/ntalltypes.h @@ -178,3 +178,8 @@ typedef double double_t; #endif typedef __CUSTOM_OR_BUILTIN_va_list__ va_list; + +#define va_start(v,l) __builtin_va_start(v,l) +#define va_end(v) __builtin_va_end(v) +#define va_arg(v,l) __builtin_va_arg(v,l) +#define va_copy(d,s) __builtin_va_copy(d,s)