diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-18 03:22:26 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-11-18 03:22:26 +0000 |
commit | 4c307921032a144a9339b40911230b7fbe33538a (patch) | |
tree | 629fd0a7ef1d91e92e52234e356958f6feb22e8f /win32 | |
parent | 02c5d7e79a79b6fc09c31c90931c599b817eadba (diff) | |
download | ruby-4c307921032a144a9339b40911230b7fbe33538a.tar.gz |
* win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
returns true on VisualC++6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index 228e7d282c..f3efa17940 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -227,6 +227,10 @@ extern FILE *rb_w32_fsopen(const char *, const char *, int); #endif #endif +#if !defined S_IFIFO && defined _S_IFIFO +#define S_IFIFO _S_IFIFO +#endif + #if 0 && defined __BORLANDC__ #undef S_ISDIR #undef S_ISFIFO |