The macro _MSC_VER is not set when compiling under windows using MinGW, but we still need to _setmode(std, _O_BINARY). This can be fixed by using _WIN32 instead.
patch file
Log in to post a comment.
patch file