X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FMacCompatibility.h;h=3a99c52a052925f9dfc90c7036950365f5aca3ee;hb=b42c969f8e187da68b6fc53b8bb9102f65707434;hp=8c179dbce3558365319c650e9d6b2fb645ff857d;hpb=44146d06c780d3aaa283672fedb08b8870ebe1b9;p=lugaru.git diff --git a/Source/MacCompatibility.h b/Source/MacCompatibility.h index 8c179db..3a99c52 100644 --- a/Source/MacCompatibility.h +++ b/Source/MacCompatibility.h @@ -30,6 +30,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // stuff to make Mac code compatable with Windows/Linux/etc +#if defined(WIN32) && !defined(strcasecmp) +#define strcasecmp(a,b) stricmp(a,b) +#endif + #ifdef _MSC_VER // disable warnings about double to float conversions #pragma warning(disable:4305)