logging: enable thread_local usage on macOS

This commit is contained in:
fanquake 2020-02-06 12:21:00 +08:00
parent 8a56f79d49
commit d76894987d
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -885,11 +885,6 @@ if test "x$use_thread_local" = xyes || { test "x$use_thread_local" = xauto && te
dnl https://gist.github.com/jamesob/fe9a872051a88b2025b1aa37bfa98605
AC_MSG_RESULT(no)
;;
*darwin*)
dnl TODO enable thread_local on later versions of Darwin where it is
dnl supported (per https://stackoverflow.com/a/29929949)
AC_MSG_RESULT(no)
;;
*freebsd*)
dnl FreeBSD's implementation of thread_local is also buggy (per
dnl https://groups.google.com/d/msg/bsdmailinglist/22ncTZAbDp4/Dii_pII5AwAJ)