mirror of
https://github.com/reactos/reactos.git
synced 2024-08-22 11:22:59 +00:00
22 lines
244 B
C
22 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 */
|