From 017568a89cb1cf02adfd78c5b66b3208f98421aa Mon Sep 17 00:00:00 2001 From: Eugen Date: Sat, 5 May 2018 22:53:00 +0200 Subject: [PATCH] va_start & va_end added --- cores/arduino/wiring.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cores/arduino/wiring.h b/cores/arduino/wiring.h index af6cc34621..80f4d37298 100644 --- a/cores/arduino/wiring.h +++ b/cores/arduino/wiring.h @@ -21,6 +21,7 @@ #define _WIRING_H_ #include +#include #include #include #include @@ -52,4 +53,7 @@ #define clockCyclesToMicroseconds(a) ( ((a) * 1000L) / (SystemCoreClock / 1000L) ) #define microsecondsToClockCycles(a) ( (a) * (SystemCoreClock / 1000000L) ) +#define va_start(v,l) __builtin_va_start(v,l) +#define va_end(v) __builtin_va_end(v) + #endif /* _WIRING_H_ */