From f8a299184c27cbc7f15d7ce9172bf89f121f0705 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 8 Sep 2010 16:41:23 +0000 Subject: [PATCH] it seems that strcasecmp and strcasencmp have issues on windows replace with stricmp and strnicmp -- jkane mail.com git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_cgi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 8ce7fba..1ffe8fd 100644 --- a/src/rrd_cgi.c +++ b/src/rrd_cgi.c @@ -9,6 +9,11 @@ #include #endif +#ifdef WIN32 + #define strcasecmp stricmp + #define strcasencmp strnicmp +#endif + #define MEMBLK 1024 /*#define DEBUG_PARSER #define DEBUG_VARS*/ -- 2.11.0