aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index c21fca6fbc..da79b438a1 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -3520,6 +3520,7 @@ rb_w32_snprintf(char *buf, size_t size, const char *format, ...)
return ret;
}
+#if !defined(__BORLANDC__) && !defined(_WIN32_WCE)
int
rb_w32_isatty(int fd)
{
@@ -3533,6 +3534,7 @@ rb_w32_isatty(int fd)
}
return 1;
}
+#endif
#undef mkdir
#undef rmdir