aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/estream.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/estream.c b/src/estream.c
index 3c7d05f..1175ac8 100644
--- a/src/estream.c
+++ b/src/estream.c
@@ -92,8 +92,14 @@
#ifndef O_BINARY
-#define O_BINARY 0
+# define O_BINARY 0
#endif
+#ifndef HAVE_DOSISH_SYSTEM
+# ifdef HAVE_W32_SYSTEM
+# define HAVE_DOSISH_SYSTEM 1
+# endif
+#endif
+
#ifdef HAVE_W32_SYSTEM
# define S_IRGRP S_IRUSR