From ceeae30f47b9d628484ae398bc38f3f60ee8eab4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 31 Jan 2013 19:27:36 -0500 Subject: [PATCH] Really fix setmode this time Thanks to Khaled for spotting it. --- util/options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/options.cc b/util/options.cc index 57531d57d..bd4d55e3e 100644 --- a/util/options.cc +++ b/util/options.cc @@ -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; }