diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/win32.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index bba38dcf4a..b0150b6a19 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -569,7 +569,12 @@ extern char *rb_w32_strerror(int); # define EREMOTE WSAEREMOTE #endif -#define F_SETFL 1 +#define F_DUPFD 0 +//#define F_GETFD 1 +//#define F_SETFD 2 +//#define F_GETFL 3 +#define F_SETFL 4 +//#define FD_CLOEXEC 1 /* F_GETFD, F_SETFD */ #define O_NONBLOCK 1 #undef FD_SET |