提交 ceeae30f 编写于 作者: B Behdad Esfahbod

Really fix setmode this time

Thanks to Khaled for spotting it.
上级 7cba8a67
......@@ -558,7 +558,7 @@ output_options_t::get_file_handle (void)
fp = fopen (output_file, "wb");
else {
#ifdef HAVE_SETMODE
_setmode (fileno (stdout), _O_BINARY);
setmode (fileno (stdout), _O_BINARY);
#endif
fp = stdout;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册