Re: [PATCH] libstdc++: Define macro before it is first checked

2021-09-02 Thread Jonathan Wakely via Gcc-patches
On Thu, 2 Sept 2021 at 19:00, Jonathan Wakely wrote: > > * 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. Actually ignore that ... I tested the wrong patch. This on

Re: [PATCH] libstdc++: Define macro before it is first checked

2021-09-02 Thread Thomas Rodgers via Gcc-patches
Agreed. On Thu, Sep 2, 2021 at 10:58 AM Jonathan Wakely wrote: > Signed-off-by: Jonathan Wakely > > 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

[PATCH] libstdc++: Define macro before it is first checked

2021-09-02 Thread Jonathan Wakely via Gcc-patches
Signed-off-by: Jonathan Wakely 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 is f