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

--- Comment #5 from cqwrteur <unlvsur at live dot com> ---
Created attachment 49798
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49798&action=edit
Compilation Working patch. Tested on both x86_64-linux-gnu and
mingw-w64-x86_64-windows10

This also adds the support for O_CLOEXEC on Windows with the O_NOINHERIT flag.

No longer uses HOST_HAS_O_CLOEXEC macro generated by the autotool. Directly
checking O_CLOEXEC macro on that platform.

There is a new bug for libstdc++ before I could test whether module works on
windows, but this patch does not break compilation.

Reply via email to