From a87dee588bfd982b671b6e3e1a83c0739b741f69 Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Sat, 19 Dec 2020 20:33:36 +0100 Subject: [PATCH] dlltest_arm This fixes the dlltest_arm on arm(32) --- tcc.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tcc.h b/tcc.h index a9a822ea..373076d7 100644 --- a/tcc.h +++ b/tcc.h @@ -28,6 +28,10 @@ #include #include #include +/* gnu headers use to #define __attribute__ to empty for non-gcc compilers */ +#ifdef __TINYC__ +# undef __attribute__ +#endif #include #include #include @@ -108,10 +112,6 @@ extern long double strtold (const char *__nptr, char **__endptr); # define PRINTF_LIKE(x,y) __attribute__ ((format (printf, (x), (y)))) #endif -/* gnu headers use to #define __attribute__ to empty for non-gcc compilers */ -#ifdef __TINYC__ -# undef __attribute__ -#endif #ifdef _WIN32 # define IS_DIRSEP(c) (c == '/' || c == '\\')