mirror of
https://github.com/frida/tinycc
synced 2024-11-24 16:49:44 +03:00
No 'Thread Storage Local' on FreeBSD with tcc.
This commit is contained in:
parent
f7bfa0970e
commit
06db384f8a
2
libtcc.c
2
libtcc.c
@ -847,6 +847,8 @@ LIBTCCAPI TCCState *tcc_new(void)
|
|||||||
# endif
|
# endif
|
||||||
# if defined(__FreeBSD__)
|
# if defined(__FreeBSD__)
|
||||||
tcc_define_symbol(s, "__FreeBSD__", "__FreeBSD__");
|
tcc_define_symbol(s, "__FreeBSD__", "__FreeBSD__");
|
||||||
|
/* No 'Thread Storage Local' on FreeBSD with tcc */
|
||||||
|
tcc_define_symbol(s, "__NO_TLS", NULL);
|
||||||
# endif
|
# endif
|
||||||
# if defined(__FreeBSD_kernel__)
|
# if defined(__FreeBSD_kernel__)
|
||||||
tcc_define_symbol(s, "__FreeBSD_kernel__", NULL);
|
tcc_define_symbol(s, "__FreeBSD_kernel__", NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user