mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
21 lines
244 B
C
21 lines
244 B
C
|
|
#include <tchar.h>
|
|
|
|
#if defined(_MSC_VER)
|
|
#pragma function(_tcscmp)
|
|
#endif /* _MSC_VER */
|
|
|
|
int _tcscmp(const _TCHAR* s1, const _TCHAR* s2)
|
|
{
|
|
while(*s1 == *s2)
|
|
{
|
|
if(*s1 == 0) return 0;
|
|
|
|
s1 ++;
|
|
s2 ++;
|
|
}
|
|
|
|
return *s1 - *s2;
|
|
}
|
|
|
|
/* EOF */
|