profile, enable TLS for a handful of BSD platforms.

This commit is contained in:
David Carlier
2020-12-04 09:17:06 +00:00
parent 7f87bb5362
commit 3c7cdb498b

View File

@@ -720,6 +720,9 @@ void btLeaveProfileZoneDefault()
#define BT_HAVE_TLS 1
#elif __linux__
#define BT_HAVE_TLS 1
#elif defined(__FreeBSD__) || defined(__NetBSD__)
// TODO: At the moment disabling purposely OpenBSD, albeit tls support exists but not fully functioning
#define BT_HAVE_TLS 1
#endif
// __thread is broken on Andorid clang until r12b. See