1
0
Fork 0
forked from nuttx/nuttx-update

arch/strarg: provide the stdarg implementation for greenhills compiler

the greenhills compiler provide its own implementation of va_start,
va_end, va_arg, va_copy. so if we are build vela with greenhills
compiler, we should using the stdarg implementation provided by
greenhills, not our own

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
guoshichao 2024-06-20 14:12:50 +08:00 committed by archer
parent 681122bc23
commit 0cf0bece2e

View file

@ -25,6 +25,10 @@
* Included Files
****************************************************************************/
#ifdef __ghs__
# include <ansi/stdarg.h>
#else
/****************************************************************************
* Pre-processor Prototypes
****************************************************************************/
@ -42,4 +46,6 @@
typedef __builtin_va_list va_list;
#endif
#endif /* __ARCH_ARM_INCLUDE_STDARG_H */