X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=lib%2Fcrtdll%2Fstring%2Fstrcoll.c;fp=lib%2Fcrtdll%2Fstring%2Fstrcoll.c;h=0000000000000000000000000000000000000000;hp=81e27d611648edfab980db08a7961eb32713adba;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/lib/crtdll/string/strcoll.c b/lib/crtdll/string/strcoll.c deleted file mode 100644 index 81e27d6..0000000 --- a/lib/crtdll/string/strcoll.c +++ /dev/null @@ -1,30 +0,0 @@ -#include -#include - -/* Compare S1 and S2, returning less than, equal to or - greater than zero if the collated form of S1 is lexicographically - less than, equal to or greater than the collated form of S2. */ - -#if 1 -int strcoll(const char* s1, const char* s2) -{ - return strcmp(s1, s2); -} - -int _stricoll(const char* s1, const char* s2) -{ - return _stricmp(s1, s2); -} - -#else -int strcoll (const char* s1,const char* s2) -{ - int ret; - ret = CompareStringA(LOCALE_USER_DEFAULT,0,s1,strlen(s1),s2,strlen(s2)); - if (ret == 0) - return 0; - else - return ret - 2; - return 0; -} -#endif