From b369eea79f5ef06a8b314e5ef3a25a0db36db410 Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 4 Jan 2003 18:17:30 +0000 Subject: * 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 --- wince/wince.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'wince/wince.h') diff --git a/wince/wince.h b/wince/wince.h index 2d3d89aa76..4081042718 100644 --- a/wince/wince.h +++ b/wince/wince.h @@ -57,10 +57,8 @@ extern "C" { /* Win32 API redifinition. */ #ifdef GetCommandLine - #undef GetCommandLine - #define GetCommandLine GetCommandLineA -#else - #define GetCommandLine GetCommandLineA +#undef GetCommandLine +#define GetCommandLine GetCommandLineA #endif #ifdef SetFileAttributes @@ -141,7 +139,7 @@ char *_fullpath(char *absPath, const char *relPath, size_t maxLength); /* string.c */ char *strdup(const char * str); /* char *strerror(int errno); */ -int _strnicmp( const char *s1, const char *s2, size_t count ); +int strnicmp( const char *s1, const char *s2, size_t count ); #define strnicmp _strnicmp @@ -192,7 +190,7 @@ void wce_FreeCommandLine(void); #if _WIN32_WCE < 300 /* for Handheld PC Pro. */ char *strrchr( const char *p, int c ); - int _stricmp( const char *p1, const char *p2 ); + int stricmp( const char *p1, const char *p2 ); VOID ZeroMemory(PVOID p, DWORD length); #define isascii(c) ( (c>=0x00&&c<=0x7f)?1:0 ) -- cgit v1.2.3