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 | 8f60b4af2a09206d0c28ff8dab6474b3e360f515 (patch) | |
tree | 629fd0a7ef1d91e92e52234e356958f6feb22e8f /win32/win32.h | |
parent | 861b53017f8a46f1941d04d919781ced0d6459ec (diff) | |
download | ruby-8f60b4af2a09206d0c28ff8dab6474b3e360f515.tar.gz ruby-8f60b4af2a09206d0c28ff8dab6474b3e360f515.tar.xz ruby-8f60b4af2a09206d0c28ff8dab6474b3e360f515.zip |
* win32/win32.h (S_IFIFO): r,w = IO.pipe; r.stat.pipe? now
returns true on VisualC++6.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.h')
-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 228e7d282..f3efa1794 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 |