aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 4b7035b56d..d9c9cf3624 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2398,12 +2398,8 @@ rb_w32_getcwd(buffer, size)
int length;
char *bp;
-#ifdef __BORLANDC__
#undef getcwd
if (getcwd(buffer, size) == NULL) {
-#else
- if (_getcwd(buffer, size) == NULL) {
-#endif
return NULL;
}
length = strlen(buffer);