aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.h
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 14:30:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-14 14:30:37 +0000
commite2472dafa07c491954c3e81ee9643ade1252ce00 (patch)
tree80f6f1905f37f3b69686b4a9bc2352793bb991d9 /win32/win32.h
parent9d2b69a27306058af38a7e5c1b57dd419a57fd05 (diff)
downloadruby-e2472dafa07c491954c3e81ee9643ade1252ce00.tar.gz
* win32/win32.c (collect_file_fd): rename from extract_file_fd.
* win32/win32.c (extract_pipe_fd, peek_pipe): new functions. * win32/win32.c (rb_w32_select): check pipes by polling them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index bbc855e13f..d3bac885bc 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -93,6 +93,7 @@ extern "C++" {
#define strcasecmp(s1, s2) stricmp(s1, s2)
#define strncasecmp(s1, s2, n) strnicmp(s1, s2, n)
+#define pipe(p) _pipe(p, 2048L, O_BINARY)
#define close(h) rb_w32_close(h)
#define fclose(f) rb_w32_fclose(f)
#define getpid() rb_w32_getpid()