declare some missing string functions

Martin Fuchs martin-fuchs at gmx.net
Wed Nov 12 03:20:57 CST 2003


Changelog:
declare functions _strlwr(), _wcslwr(), and macros _tcsnicmp and _tcsicoll for 
use of Winelib apps


Index: tchar.h
===================================================================
RCS file: /home/wine/wine/include/tchar.h,v
retrieving revision 1.22
diff -u -r1.22 tchar.h
--- tchar.h     5 Sep 2003 23:15:44 -0000       1.22
+++ tchar.h     12 Nov 2003 09:14:56 -0000
@@ -219,6 +219,12 @@
 typedef WCHAR _TUCHARW;
 DECL_WINELIB_TYPE_AW(_TUCHAR)

+extern char* _strlwr(char*);
+extern WCHAR* _wcslwr(WCHAR*);
+
+#define _tcsnicmp strncasecmp
+#define _tcsicoll strcasecmp
+
 #ifdef __cplusplus
 } /* extern "C" */
 #endif


-- 
Martin Fuchs
martin-fuchs at gmx.net




More information about the wine-patches mailing list