Commit 473c5bc9 by Andris Pavenis Committed by Jim Wilson

From Andris Pavenis, approved by Zack Weinberg, for DJGPP build problem.

* files.c: Include io.h for DJGPP to get prototype of setmode.

From-SVN: r98910
parent c261cca9
2005-04-27 Andris Pavenis <pavenis@latnet.lv>
* files.c: Include io.h for DJGPP to get prototype of setmode.
2005-04-19 Per Bothner <per@bothner.com>
PR preprocessor/20907
......
......@@ -40,6 +40,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#endif
#ifdef __DJGPP__
#include <io.h>
/* For DJGPP redirected input is opened in text mode. */
# define set_stdin_to_binary_mode() \
if (! isatty (0)) setmode (0, O_BINARY)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment