]> granicus.if.org Git - graphviz/commitdiff
fix error: conflicting types for '_strnicmp' with MinGW
authorTony Kelman <tony@kelman.net>
Fri, 19 Dec 2014 19:57:43 +0000 (11:57 -0800)
committerTony Kelman <tony@kelman.net>
Fri, 16 Jan 2015 22:08:40 +0000 (14:08 -0800)
lib/common/colxlate.c

index 6097c9f12003fdf1ff89b4d5e320db0d7f0b1548..73d9ba10550b6b6c9c8e19f10494038e02c94092 100644 (file)
@@ -31,7 +31,7 @@
 
 static char* colorscheme;
 
-#ifdef WIN32
+#ifdef _MSC_VER
 extern int strcasecmp(const char *s1, const char *s2);
 extern int strncasecmp(const char *s1, const char *s2, unsigned int n);
 #endif