aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/include
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-04-26 10:57:56 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-04-26 10:57:56 +0200
commit92f563727f9fb2ebbf15eddb75987a3530ca8273 (patch)
tree204e485cbc66c8abc6b47457ad345199c8e6d9f4 /runtime/include
parent1909a882df9e40c079b7fbcdfba3d1742c52a0fb (diff)
downloadcompcert-kvx-92f563727f9fb2ebbf15eddb75987a3530ca8273.tar.gz
compcert-kvx-92f563727f9fb2ebbf15eddb75987a3530ca8273.zip
Improve compatibility with MacOS X.
Diffstat (limited to 'runtime/include')
-rw-r--r--runtime/include/stdarg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/include/stdarg.h b/runtime/include/stdarg.h
index 7668c62c..b2e7eadd 100644
--- a/runtime/include/stdarg.h
+++ b/runtime/include/stdarg.h
@@ -45,7 +45,10 @@ typedef __builtin_va_list __gnuc_va_list;
#ifdef _STDARG_H
+#ifndef _VA_LIST_T
+#define _VA_LIST_T
typedef __builtin_va_list va_list;
+#endif
#define va_start(v,l) __builtin_va_start(v,l)
#define va_end(v) __builtin_va_end(v)