In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/52bd4b1005ce2b1499ca6df62b6d09e45880a467?hp=973ae08839a3c974ff88014594ecf63cdb20d5e8>
- Log ----------------------------------------------------------------- commit 52bd4b1005ce2b1499ca6df62b6d09e45880a467 Author: Tony Cook <t...@develop-help.com> Date: Fri Jul 19 10:08:30 2019 +1000 (perl #134221) MSVC doesn't define O_ACCMODE ----------------------------------------------------------------------- Summary of changes: win32/win32.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/win32/win32.h b/win32/win32.h index 6db4dc0536..6311115b0a 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -735,5 +735,9 @@ DllExport void *win32_signal_context(void); #define Win_GetModuleFileName GetModuleFileName #define Win_CreateSemaphore CreateSemaphore +#if defined(PERL_CORE) && !defined(O_ACCMODE) +# define O_ACCMODE (O_RDWR | O_WRONLY | O_RDONLY) +#endif + #endif /* _INC_WIN32_PERL5 */ -- Perl5 Master Repository