mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08: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
|
||||
# if defined(__FreeBSD__)
|
||||
tcc_define_symbol(s, "__FreeBSD__", "__FreeBSD__");
|
||||
/* No 'Thread Storage Local' on FreeBSD with tcc */
|
||||
tcc_define_symbol(s, "__NO_TLS", NULL);
|
||||
# endif
|
||||
# if defined(__FreeBSD_kernel__)
|
||||
tcc_define_symbol(s, "__FreeBSD_kernel__", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user