aboutsummaryrefslogtreecommitdiffstats
path: root/wince/string.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
commitb369eea79f5ef06a8b314e5ef3a25a0db36db410 (patch)
tree58de3c1b8ae13b2a2fc07f00c015c90a308ccd86 /wince/string.c
parentd80285a9fe71b2e5474c66614d48ad03f0d17d6b (diff)
downloadruby-b369eea79f5ef06a8b314e5ef3a25a0db36db410.tar.gz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/string.c')
-rw-r--r--wince/string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wince/string.c b/wince/string.c
index eb95d94d47..74a4afe909 100644
--- a/wince/string.c
+++ b/wince/string.c
@@ -23,8 +23,8 @@ char* strerror(int errno)
return rb_w32_strerror(errno);
}
-/* _strnicmp already exists in stdlib.h? */
-int _strnicmp( const char *s1, const char *s2, size_t count )
+/* strnicmp already exists in stdlib.h? */
+int strnicmp( const char *s1, const char *s2, size_t count )
{
wchar_t *w1, *w2;
int n;
@@ -53,7 +53,7 @@ char *strrchr( const char *p, int c )
return pp==p ? NULL : pp;
}
-int _stricmp( const char *s1, const char *s2 )
+int stricmp( const char *s1, const char *s2 )
{
wchar_t *w1, *w2;
int n;