From 73ac39c317a20accaf3b25ba833deee0c2e2849f Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 9 Mar 2014 22:21:27 +0800 Subject: [PATCH] Undefine __va* in libtcc1 to avoid errors w/ clang --- lib/libtcc1.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libtcc1.c b/lib/libtcc1.c index cf9babf..b46fb5d 100644 --- a/lib/libtcc1.c +++ b/lib/libtcc1.c @@ -647,6 +647,11 @@ struct __va_list_struct { char *reg_save_area; }; +#undef __va_start +#undef __va_arg +#undef __va_copy +#undef __va_end + void *__va_start(void *fp) { struct __va_list_struct *ap =