This commit is contained in:
Igor Pavlov
2009-02-03 00:00:00 +00:00
committed by Kornel Lesiński
parent 1dc92281fa
commit 8874e4fbc9
34 changed files with 216 additions and 148 deletions

View File

@@ -2,12 +2,14 @@
#include "StdAfx.h"
#ifdef _WIN32
#include "StringConvert.h"
#else
#ifndef _WIN32
#include <ctype.h>
#endif
#ifndef _UNICODE
#include "StringConvert.h"
#endif
#include "MyString.h"
@@ -190,9 +192,9 @@ int MyStringCompareNoCase(const wchar_t *s1, const wchar_t *s2)
}
}
#ifdef _WIN32
/*
int MyStringCompareNoCase(const char *s1, const char *s2)
{
return MyStringCompareNoCase(MultiByteToUnicodeString(s1), MultiByteToUnicodeString(s2));
}
#endif
*/

View File

@@ -100,10 +100,7 @@ int MyStringCollateNoCase(const wchar_t *s1, const wchar_t *s2);
int MyStringCompare(const char *s1, const char *s2);
int MyStringCompare(const wchar_t *s1, const wchar_t *s2);
#ifdef _WIN32
int MyStringCompareNoCase(const char *s1, const char *s2);
#endif
// int MyStringCompareNoCase(const char *s1, const char *s2);
int MyStringCompareNoCase(const wchar_t *s1, const wchar_t *s2);
template <class T>