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>
Sun, 4 Dec 2022 14:55:07 +0000 (14:55 +0000)
commita044c9d25972b22c6b4c8ec27f2de5fd622573cc
treec8ab5410bebe81b3dd0aaa227b3fa6c409919b46
parente76a44bf68b79278cb2c20e4ce87657a247adcfe
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.
libstdc++-v3/config/os/bsd/darwin/os_defines.h