Really fix setmode this time
Thanks to Khaled for spotting it.
This commit is contained in:
parent
7cba8a673b
commit
ceeae30f47
|
@ -558,7 +558,7 @@ output_options_t::get_file_handle (void)
|
||||||
fp = fopen (output_file, "wb");
|
fp = fopen (output_file, "wb");
|
||||||
else {
|
else {
|
||||||
#ifdef HAVE_SETMODE
|
#ifdef HAVE_SETMODE
|
||||||
_setmode (fileno (stdout), _O_BINARY);
|
setmode (fileno (stdout), _O_BINARY);
|
||||||
#endif
|
#endif
|
||||||
fp = stdout;
|
fp = stdout;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue