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 190cf3a1f4..5a93f2d313 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -223,6 +223,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
+
#ifdef __BORLANDC__
#undef S_ISDIR
#undef S_ISFIFO