From 3670004707b31a49a4085ddc162dcefd0620ef3a 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/branches/1.4@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_cgi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/program/src/rrd_cgi.c b/program/src/rrd_cgi.c index 0ded654f..ac76b679 100644 --- a/program/src/rrd_cgi.c +++ b/program/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.30.2