ruby-changes:46617
From: nobu <ko1@a...>
Date: Mon, 15 May 2017 20:26:01 +0900 (JST)
Subject: [ruby-changes:46617] nobu:r58732 (trunk): thread_spec.c: use rb_w32_pipe
nobu 2017-05-15 20:25:56 +0900 (Mon, 15 May 2017) New Revision: 58732 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58732 Log: thread_spec.c: use rb_w32_pipe Modified files: trunk/spec/rubyspec/optional/capi/ext/thread_spec.c Index: spec/rubyspec/optional/capi/ext/thread_spec.c =================================================================== --- spec/rubyspec/optional/capi/ext/thread_spec.c (revision 58731) +++ spec/rubyspec/optional/capi/ext/thread_spec.c (revision 58732) @@ -7,6 +7,9 @@ https://github.com/ruby/ruby/blob/trunk/spec/rubyspec/optional/capi/ext/thread_spec.c#L7 #if HAVE_UNISTD_H #include <unistd.h> #endif +#if defined(_WIN32) +#define pipe(p) rb_w32_pipe(p) +#endif #ifdef __cplusplus extern "C" { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/