Unfortunately, this has broken VC++ builds on Windows (at least VC6 thru VC2015) - there is no O_ACCMODE here. --- via perlbug: queue: perl5 status: pending release https://rt.perl.org/Ticket/Display.html?id=134221