https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93151

--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jonathan Wakely
<r...@gcc.gnu.org>:

https://gcc.gnu.org/g:740e1ae17770d8e4829714c689f5471d235184b7

commit r9-10062-g740e1ae17770d8e4829714c689f5471d235184b7
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Dec 17 13:27:04 2020 +0000

    libstdc++: Test errno macros directly for all targets [PR 93151]

    This applies the same changes to the djgpp and mingw versions of
    error_constants.h as r11-6137 did for the generic version.

    All of these constants are defined as macros by <errno.h> on these
    targets, so we can just test the macro directly instead of checking for
    it at configure time.

    libstdc++-v3/ChangeLog:

            PR libstdc++/93151
            * config/os/djgpp/error_constants.h: Test POSIX errno macros
            directly, instead of corresponding _GLIBCXX_HAVE_EXXX macros.
            * config/os/mingw32-w64/error_constants.h: Likewise.
            * config/os/mingw32/error_constants.h: Likewise.

    (cherry picked from commit 217d5beaff9987a9845155fc796322b5f8bb876d)

Reply via email to