]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++, Darwin: Limit recursive mutex init to OS versions needing it.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 3 Dec 2022 17:09:35 +0000 (17:09 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 24 Apr 2024 18:37:55 +0000 (19:37 +0100)
commit17212f5912d8f57b3757633444ae64c9831aa8f7
tree977148afe176ea143b3d10e71a21b7a2af0f1ecf
parent61e6a6d2aa139781de9b6b94206f6a526c0addaa
libstdc++, Darwin: Limit recursive mutex init to OS versions needing it.

The problem described in pr 51906 was fixed in the next OS release.  Limit the
workaround to systems that need it.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libstdc++-v3/ChangeLog:

* config/os/bsd/darwin/os_defines.h
(_GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC): Limit use of this macro
to OS versions that need it.

(cherry picked from commit a044c9d25972b22c6b4c8ec27f2de5fd622573cc)
libstdc++-v3/config/os/bsd/darwin/os_defines.h