under dramatic changes...

This commit is contained in:
2014-07-02 14:29:01 +00:00
parent efc55863f4
commit fafd1eb21f
90 changed files with 129552 additions and 166 deletions

12
h2/lib/cmn/str-cmp.h Normal file
View File

@ -0,0 +1,12 @@
int XFUN(strcmp) (const xchar_t* s1, const xchar_t* s2)
{
while (*s1 == *s2)
{
if (*s1 == XCHAR('\0')) return 0;
s1++, s2++;
}
return (*s1 > *s2)? 1: -1;
}