1 #ifndef _STDARG_H 2 #define _STDARG_H 3 4 #ifdef __ICCARM__ /* for iar */ 5 #include_next <stdarg.h> 6 #else 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 12 #define __NEED_va_list 13 14 #include <bits/alltypes.h> 15 16 #define va_start(v,l) __builtin_va_start(v,l) 17 #define va_end(v) __builtin_va_end(v) 18 #define va_arg(v,l) __builtin_va_arg(v,l) 19 #define va_copy(d,s) __builtin_va_copy(d,s) 20 21 #ifdef __cplusplus 22 } 23 #endif 24 25 #endif /* __ICCARM__ */ 26 #endif 27