Unified · Split
| @@ -847,6 +847,8 @@ LIBTCCAPI TCCState *tcc_new(void) · 846 unmodified lines | ||
| 847 | 847 | # endif |
| 848 | 848 | # if defined(__FreeBSD__) |
| 849 | 849 | tcc_define_symbol(s, "__FreeBSD__", "__FreeBSD__"); |
| 850 | + /* No 'Thread Storage Local' on FreeBSD with tcc */ | |
| 851 | + tcc_define_symbol(s, "__NO_TLS", NULL); | |
| 850 | 852 | # endif |
| 851 | 853 | # if defined(__FreeBSD_kernel__) |
| 852 | 854 | tcc_define_symbol(s, "__FreeBSD_kernel__", NULL); |