mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Mon Nov 22 11:14:53 CET 1999 Werner Koch
This commit is contained in:
parent
cc49ea6d28
commit
7240c58160
18 changed files with 85 additions and 82 deletions
|
@ -559,6 +559,18 @@ strlwr(char *s)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_STRCASECMP
|
||||
int
|
||||
strcasecmp( const char *a, const char *b )
|
||||
{
|
||||
for( ; *a && *b; a++, b++ ) {
|
||||
if( *a != *b && toupper(*a) != toupper(*b) )
|
||||
break;
|
||||
}
|
||||
return *(const byte*)a - *(const byte*)b;
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************
|
||||
* mingw32/cpd has a memicmp()
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue