From 66788ba7edbcc4a849bab154711772277e863453 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@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 8ce7fba3..1ffe8fd4 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