Really fix setmode this time

Thanks to Khaled for spotting it.
This commit is contained in:
Behdad Esfahbod 2013-01-31 19:27:36 -05:00
parent 7cba8a673b
commit ceeae30f47
1 changed files with 1 additions and 1 deletions

View File

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