summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src/include/nonposix.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/groff/src/include/nonposix.h')
-rw-r--r--contrib/groff/src/include/nonposix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/groff/src/include/nonposix.h b/contrib/groff/src/include/nonposix.h
index 5144983..abd7d1e 100644
--- a/contrib/groff/src/include/nonposix.h
+++ b/contrib/groff/src/include/nonposix.h
@@ -27,7 +27,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
# define setmode(f,m) _setmode(f,m)
#endif
-#if defined(__MSDOS__) || (defined(_WIN32) && !defined(__CYGWIN32__))
+#if defined(__MSDOS__) \
+ || (defined(_WIN32) && !defined(_UWIN) && !defined(__CYGWIN32__))
/* Binary I/O nuisances. Note: "setmode" is right for DJGPP and
Borland; Windows compilers might need _setmode or some such. */
OpenPOWER on IntegriCloud