https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127555
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Thanks for the report and patch. Patches should be sent to the mailing lists for review (both gcc-patches and libstdc++ lists), not attached in bugzilla. Please see https://gcc.gnu.org/dco.html and https://gcc.gnu.org/ai-policy.html But since you've attached it here, I don't think #ifdef ENOTEMPTY is needed, we already use that unconditionally in config/os/*/error_constants.h (whereas EPERM is conditional in the mingw32 and mingw32-w64 versions of that header).
