aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include/stdarg.h
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-07-14 22:41:24 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-07-14 22:41:24 +0200
commit4c146156a36d48209a6206f61f80dc5d4c48ce93 (patch)
treedc8e3b1c7daf41cdf965c9e3e6119dcb5d6a41e5 /runtime/include/stdarg.h
parentd03d47c6e4ce9324d6d59ae36cb8db78b013be54 (diff)
parentf995a671ceb28c2a83e5e5574c3cdb46fd5e0f57 (diff)
downloadcompcert-4c146156a36d48209a6206f61f80dc5d4c48ce93.tar.gz
compcert-4c146156a36d48209a6206f61f80dc5d4c48ce93.zip
Merge branch 'master' into asmexpand
Diffstat (limited to 'runtime/include/stdarg.h')
-rw-r--r--runtime/include/stdarg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/include/stdarg.h b/runtime/include/stdarg.h
index b2e7eadd..3e9eaf95 100644
--- a/runtime/include/stdarg.h
+++ b/runtime/include/stdarg.h
@@ -45,10 +45,20 @@ typedef __builtin_va_list __gnuc_va_list;
#ifdef _STDARG_H
+#ifdef __DCC__
#ifndef _VA_LIST_T
#define _VA_LIST_T
+#endif
+#ifndef __VA_LIST
+#define __VA_LIST
typedef __builtin_va_list va_list;
#endif
+#else
+#ifndef _VA_LIST_T
+#define _VA_LIST_T
+typedef __builtin_va_list va_list;
+#endif
+#endif
#define va_start(v,l) __builtin_va_start(v,l)
#define va_end(v) __builtin_va_end(v)