From: oetiker Date: Wed, 8 Sep 2010 16:41:23 +0000 (+0000) Subject: it seems that strcasecmp and strcasencmp have issues on windows replace X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2dec4d184865859c2fc54396990eb1507d0bc292;p=rrdtool.git 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/program@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c index 0ded654..ac76b67 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*/