]> git.jsancho.org Git - lugaru.git/blobdiff - Source/MacCompatibility.h
Cleaned up the stricmp() nonsense.
[lugaru.git] / Source / MacCompatibility.h
index 8c179dbce3558365319c650e9d6b2fb645ff857d..3a99c52a052925f9dfc90c7036950365f5aca3ee 100644 (file)
@@ -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)