mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-28 12:10:05 +08:00
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:
parent
fd775d941d
commit
e9aa113240
@ -124,6 +124,7 @@
|
|||||||
/* avoids usage of GCC/clang specific builtins in libc-headerfiles: */
|
/* avoids usage of GCC/clang specific builtins in libc-headerfiles: */
|
||||||
#define __FINITE_MATH_ONLY__ 1
|
#define __FINITE_MATH_ONLY__ 1
|
||||||
#define _FORTIFY_SOURCE 0
|
#define _FORTIFY_SOURCE 0
|
||||||
|
#define __has_builtin(x) 0
|
||||||
|
|
||||||
#elif defined __ANDROID__
|
#elif defined __ANDROID__
|
||||||
#define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD
|
#define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD
|
||||||
|
Loading…
Reference in New Issue
Block a user