[PATCH] libstdc++: Define macro before it is first checked
Thomas Rodgers
trodgers@redhat.com
Thu Sep 2 18:25:02 GMT 2021
Agreed.
On Thu, Sep 2, 2021 at 10:58 AM Jonathan Wakely <jwakely@redhat.com> wrote:
> Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
>
> libstdc++-v3/ChangeLog:
>
> * include/bits/atomic_wait.h (_GLIBCXX_HAVE_PLATFORM_WAIT):
> Define before first attempt to check it.
>
> Tested x86_64-linux and powerpc64-linux, not committed yet.
>
> I think we need this, otherwise __platform_wait_uses_type<T> is false
> for all T.
>
>
>
More information about the Libstdc++
mailing list