From 8002f5fe6e0942eec452c698c68634fccf3ea3e1 Mon Sep 17 00:00:00 2001 From: olsner Date: Wed, 9 Jun 2004 13:43:25 +0000 Subject: [PATCH] str[n]icmp => str[n]casecmp on non-windows This was SVN commit r437. --- source/lib/sysdep/sysdep.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/lib/sysdep/sysdep.h b/source/lib/sysdep/sysdep.h index 541d66ac61..c0dd7f49e0 100755 --- a/source/lib/sysdep/sysdep.h +++ b/source/lib/sysdep/sysdep.h @@ -26,6 +26,10 @@ extern float fminf(float a, float b); extern float fmaxf(float a, float b); #endif +#ifndef _MSC_VER +#define stricmp strcasecmp +#define strnicmp strncasecmp +#endif #ifdef __cplusplus }