* src/lib/evil_string.c:

* src/lib/evil_string.h:
	add strcasecmp wrapper for vc++



SVN revision: 47485
This commit is contained in:
Vincent Torri 2010-03-26 08:05:02 +00:00
parent 762313eff2
commit 361446fafe
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-03-26 Vincent Torri <doursse at users dot sf dot net>
* src/lib/evil_string.c:
* src/lib/evil_string.h:
add strcasecmp wrapper for vc++
2010-03-12 Vincent Torri <doursse at users dot sf dot net>
* src/lib/Makefile.am:

View File

@ -83,3 +83,12 @@ strrstr (const char *str, const char *substr)
return ret;
}
#ifdef _MSC_VER
int strcasecmp(const char *s1, const char *s2)
{
return lstrcmp(s1, s2);
}
#endif /* _MSC_VER */

View File

@ -103,6 +103,12 @@ EAPI int strcoll (const char *s1, const char *s2);
*/
EAPI char *strrstr (const char *str, const char *substr);
#ifdef _MSC_VER
EAPI int strcasecmp(const char *s1, const char *s2);
#endif /* _MSC_VER */
/**
* @}