From ce2d4f19e3f810b282eb7d47d470d426ff459e1f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Nov 2014 20:25:58 +0000 Subject: mir_strcmp, mir_strcmpi, mir_wstrcmp, mir_wstrcmpi git-svn-id: http://svn.miranda-ng.org/main/trunk@11179 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/hdr/modern_commonheaders.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'plugins/Clist_modern/src/hdr') diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h index 7447002bbd..8a31646f0a 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h +++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h @@ -143,18 +143,9 @@ extern TCHAR SkinsFolder[MAX_PATH]; char* __cdecl strstri( char *a, const char *b); BOOL __cdecl mir_bool_strcmpi(const char *a, const char *b); -int __cdecl mir_strcmp (const char *a, const char *b); -int __cdecl mir_strcmpi(const char *a, const char *b); -int __cdecl mir_tstrcmpi(const TCHAR *a, const TCHAR *b); BOOL __cdecl mir_bool_tstrcmpi(const TCHAR *a, const TCHAR *b); DWORD exceptFunction(LPEXCEPTION_POINTERS EP); -#ifndef MYCMP -#define MYCMP 1 -#define strcmp(a,b) mir_strcmp(a,b) -#define strlen(a) mir_strlen(a) -#endif - // Register of plugin's user // // wParam = (WPARAM)szSetting - string that describes a user @@ -356,7 +347,7 @@ public: if ( this->_dwKey != second._dwKey ) return ( this->_dwKey < second._dwKey ); else - return ( strcmp( this->_strKey, second._strKey ) < 0 ); // already maked upper so in any case - will be case insensitive + return ( mir_strcmp( this->_strKey, second._strKey ) < 0 ); // already maked upper so in any case - will be case insensitive } struct HashKeyLess -- cgit v1.2.3