summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index d1c2325026..849f13b31c 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -140,6 +140,8 @@ struct utsname {
#endif
#define ENV_IS_CASELESS
+#define PIPESOCK_MODE "b" /* pipes, sockets default to binmode */
+
#ifndef VER_PLATFORM_WIN32_WINDOWS /* VC-2.0 headers don't have this */
#define VER_PLATFORM_WIN32_WINDOWS 1
#endif