diff options
author | David Carlier <devnexen@gmail.com> | 2020-12-04 09:17:06 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2020-12-04 09:17:06 +0000 |
commit | 3c7cdb498b03ccd45f0b6f5af41d74019eb72cc2 (patch) | |
tree | 792761973327dfe23b72979e14f64e945b20aafc | |
parent | 7f87bb5362bf5674046e0f6c27dd6f7906e4d999 (diff) | |
download | bullet3-3c7cdb498b03ccd45f0b6f5af41d74019eb72cc2.tar.gz |
profile, enable TLS for a handful of BSD platforms.
-rw-r--r-- | src/LinearMath/btQuickprof.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/LinearMath/btQuickprof.cpp b/src/LinearMath/btQuickprof.cpp index 86fd1d781..33b51eb76 100644 --- a/src/LinearMath/btQuickprof.cpp +++ b/src/LinearMath/btQuickprof.cpp @@ -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 |