This fixes the dlltest_arm on arm(32)
Unified · Split
| @@ -28,6 +28,10 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <stdarg.h> |
| 29 | 29 | #include <stdlib.h> |
| 30 | 30 | #include <stdio.h> |
| 31 | +/* gnu headers use to #define __attribute__ to empty for non-gcc compilers */ | |
| 32 | +#ifdef __TINYC__ | |
| 33 | +# undef __attribute__ | |
| 34 | +#endif | |
| 31 | 35 | #include <string.h> |
| 32 | 36 | #include <errno.h> |
| 33 | 37 | #include <math.h> |
| @@ -108,10 +112,6 @@ extern long double strtold (const char *__nptr, char **__endptr); · 74 unmodified lines | ||
| 108 | 112 | # define PRINTF_LIKE(x,y) __attribute__ ((format (printf, (x), (y)))) |
| 109 | 113 | #endif |
| 110 | 114 | |
| 111 | −/* gnu headers use to #define __attribute__ to empty for non-gcc compilers */ | |
| 112 | −#ifdef __TINYC__ | |
| 113 | −# undef __attribute__ | |
| 114 | −#endif | |
| 115 | 115 | |
| 116 | 116 | #ifdef _WIN32 |
| 117 | 117 | # define IS_DIRSEP(c) (c == '/' || c == '\\') |