summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/psxtypes/arch/nt32/ntalltypes.h5
-rw-r--r--include/psxtypes/arch/nt64/ntalltypes.h5
2 files changed, 10 insertions, 0 deletions
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)