mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
Open files in binary mode, on msvc too
This commit is contained in:
@@ -1107,7 +1107,7 @@ void InitFs(Handle<Object> target) {
|
||||
StatWatcher::Initialize(target);
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#ifndef __POSIX__
|
||||
// Open files in binary mode by default
|
||||
_fmode = _O_BINARY;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user