tccdefs.h: Apple target requires __has_builtin definition.

Note: I have not been able to create working binaries on
macOS 14.1 so far, but at least tcc compiles and produces
binaries now...
This commit is contained in:
Reimar Döffinger 2023-10-29 14:37:50 +01:00
parent fd775d941d
commit e9aa113240

View File

@ -124,6 +124,7 @@
/* avoids usage of GCC/clang specific builtins in libc-headerfiles: */
#define __FINITE_MATH_ONLY__ 1
#define _FORTIFY_SOURCE 0
#define __has_builtin(x) 0
#elif defined __ANDROID__
#define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD