aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ruby/win32.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 0d07745eda..c26aa9d4f9 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -577,15 +577,14 @@ extern char *rb_w32_strerror(int);
#endif
#define F_DUPFD 0
-#if 0
#define F_GETFD 1
#define F_SETFD 2
+#if 0
#define F_GETFL 3
#endif
#define F_SETFL 4
-#if 0
+#define F_DUPFD_CLOEXEC 67
#define FD_CLOEXEC 1 /* F_GETFD, F_SETFD */
-#endif
#define O_NONBLOCK 1
#undef FD_SET