Open files in binary mode, on msvc too

This commit is contained in:
Bert Belder
2011-08-10 04:23:44 +02:00
parent 3ce4adf3c6
commit 764dfbb1bf

View File

@@ -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