libstdc++, Darwin: Fix weak attribute to use __weak__ instead of weak.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 3 Dec 2022 11:57:59 +0000 (11:57 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 4 Dec 2022 10:48:48 +0000 (10:48 +0000)
commite76a44bf68b79278cb2c20e4ce87657a247adcfe
tree7d4d44753e89e7ffdb5f3afeacacb0cb4963768c
parent7fe8aca8a62341b9f4ee68d621c087c6f17ce82a
libstdc++, Darwin: Fix weak attribute to use __weak__ instead of weak.

The text for _GLIBCXX_WEAK_DEFINITION has used 'weak' for the attribute name,
since its intoduction.  Amend to use the implementation namespace '__weak__'
version.

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

* config/os/bsd/darwin/os_defines.h (_GLIBCXX_WEAK_DEFINITION): Use the
implementation namespace for the weak attribute.
libstdc++-v3/config/os/bsd/darwin/os_defines.h