it seems that strcasecmp and strcasencmp have issues on windows replace
[rrdtool.git] / src / rrd_cgi.c
index 8ce7fba..1ffe8fd 100644 (file)
@@ -9,6 +9,11 @@
 #include <stdlib.h>
 #endif
 
+#ifdef WIN32
+   #define strcasecmp stricmp
+   #define strcasencmp strnicmp
+#endif
+
 #define MEMBLK 1024
 /*#define DEBUG_PARSER
 #define DEBUG_VARS*/