]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: Fix windows binary files [PR 98362]
authorNathan Sidwell <nathan@acm.org>
Fri, 18 Dec 2020 15:28:57 +0000 (07:28 -0800)
committerNathan Sidwell <nathan@acm.org>
Fri, 18 Dec 2020 15:31:55 +0000 (07:31 -0800)
commit785b49434d27377208f6b058e589507cd0feadb3
treef6739b919d46ef139c4b9760847f79bbf2c2b914
parentce8dcc9105cbd4043d575d8b2c91309a423951a9
c++: Fix windows binary files [PR 98362]

Windows has unique and special needs for open(2).

gcc/cp/
* module.cc (O_CLOEXEC, O_BINARY): Add window's support.
(elf_in::defrost, module_state::do_import)
(finish_module_processing): Use O_BINARY.
gcc/cp/module.cc