diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-15 11:25:56 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-15 11:25:56 +0000 |
commit | dc65024475e98227a6ed43fe3e5f0bc5170b2c17 (patch) | |
tree | 28bb6adfb50bd6ad6b3527b4b8de137619c302ee /spec/rubyspec | |
parent | 604e552525bcd189ef9386079272859aae49a173 (diff) | |
download | ruby-dc65024475e98227a6ed43fe3e5f0bc5170b2c17.tar.gz |
thread_spec.c: use rb_w32_pipe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec')
-rw-r--r-- | spec/rubyspec/optional/capi/ext/thread_spec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/rubyspec/optional/capi/ext/thread_spec.c b/spec/rubyspec/optional/capi/ext/thread_spec.c index 78e8183129..d2e937fd2a 100644 --- a/spec/rubyspec/optional/capi/ext/thread_spec.c +++ b/spec/rubyspec/optional/capi/ext/thread_spec.c @@ -7,6 +7,9 @@ #if HAVE_UNISTD_H #include <unistd.h> #endif +#if defined(_WIN32) +#define pipe(p) rb_w32_pipe(p) +#endif #ifdef __cplusplus extern "C" { |