summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h4
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