summaryrefslogtreecommitdiff
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 f44b805ae6..5986ca5ea7 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -3322,6 +3322,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)
{
@@ -3335,6 +3336,7 @@ rb_w32_isatty(int fd)
}
return 1;
}
+#endif
//
// Fix bcc32's stdio bug