summaryrefslogtreecommitdiffstats
path: root/win32/win32.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-04 18:17:30 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-04 18:17:30 +0000
commit2a971523adbc72a62bbaeddd8a181e587314d6a8 (patch)
tree58de3c1b8ae13b2a2fc07f00c015c90a308ccd86 /win32/win32.c
parent142592a2eddbe959a3ff89bae5856ff416f2d821 (diff)
downloadruby-2a971523adbc72a62bbaeddd8a181e587314d6a8.tar.gz
ruby-2a971523adbc72a62bbaeddd8a181e587314d6a8.tar.xz
ruby-2a971523adbc72a62bbaeddd8a181e587314d6a8.zip
* file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.
* win32/Makefile.sub (LIBS): use oldnames.lib. * win32/win32.c (rb_w32_getcwd): follow above change. * win32/win32.h: ditto. * wince/direct.c, wince/direct.h (getcwd): ditto. * wince/io.h: ditto. * wince/string.c, wince/wince.h (stricmp, strnicmp): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 4b7035b56..d9c9cf362 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);