mirror of
https://github.com/mirror/tinycc.git
synced 2025-03-26 12:04:59 +08:00
FreeBSD: Fix multiple ctype inline definitions
This commit is contained in:
parent
ac470a49d5
commit
d4a4ee798b
1
libtcc.c
1
libtcc.c
@ -955,6 +955,7 @@ LIBTCCAPI TCCState *tcc_new(void)
|
|||||||
tcc_define_symbol(s, "__GNUC__", "9");
|
tcc_define_symbol(s, "__GNUC__", "9");
|
||||||
tcc_define_symbol(s, "__GNUC_MINOR__", "3");
|
tcc_define_symbol(s, "__GNUC_MINOR__", "3");
|
||||||
tcc_define_symbol(s, "__GNUC_PATCHLEVEL__", "0");
|
tcc_define_symbol(s, "__GNUC_PATCHLEVEL__", "0");
|
||||||
|
tcc_define_symbol(s, "__GNUC_STDC_INLINE__", "1");
|
||||||
tcc_define_symbol(s, "__amd64__", "1");
|
tcc_define_symbol(s, "__amd64__", "1");
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user