libport: Undefine strcasecmp and strncasecmp in case they are defined to stricmp and strnicmp respectively.

This commit is contained in:
Rob Shearman 2008-03-03 21:52:27 +00:00 committed by Alexandre Julliard
parent ce8d915c03
commit 7cb2ced97d
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <ctype.h>
#ifndef HAVE_STRCASECMP
#undef strcasecmp
int strcasecmp( const char *str1, const char *str2 )
{
const unsigned char *ustr1 = (const unsigned char *)str1;

View File

@ -24,6 +24,7 @@
#include <ctype.h>
#ifndef HAVE_STRNCASECMP
#undef strncasecmp
int strncasecmp( const char *str1, const char *str2, size_t n )
{
const unsigned char *ustr1 = (const unsigned char *)str1;