+2003-10-17 Bruno Haible <bruno@clisp.org>
+
+ * binary-io.h: Avoid warnings on Cygwin.
+
2003-12-28 Bruno Haible <bruno@clisp.org>
* wait-process.c (wait_subprocess): Add ignore_sigpipe argument.
# undef O_TEXT
#endif
#if O_BINARY
-# if !(defined __EMX__ || defined __DJGPP__)
+# if !(defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__)
# define setmode _setmode
# define fileno _fileno
# endif
-# ifdef __DJGPP__
+# if defined __DJGPP__ || defined __CYGWIN__
# include <io.h> /* declares setmode() */
+# endif
+# ifdef __DJGPP__
# include <unistd.h> /* declares isatty() */
# /* Avoid putting stdin/stdout in binary mode if it is connected to the
# console, because that would make it impossible for the user to