summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/win32/win32.c b/win32/win32.c
index ba5caae7df..901bff186d 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2315,6 +2315,9 @@ set_pioinfo_extra(void)
pioinfo_extra = 0;
}
}
+#else
+#define pioinfo_extra 0
+#endif
static inline ioinfo*
_pioinfo(int fd)
@@ -2414,17 +2417,6 @@ init_stdhandle(void)
if (nullfd >= 0 && !keep) close(nullfd);
setvbuf(stderr, NULL, _IONBF, 0);
}
-#else
-
-#define _set_osfhnd(fh, osfh) (void)((fh), (osfh))
-#define _set_osflags(fh, flags) (void)((fh), (flags))
-
-/* License: Ruby's */
-static void
-init_stdhandle(void)
-{
-}
-#endif
#undef getsockopt