summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1f47262)
raw | patch | inline | side by side (parent: 1f47262)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 8 Sep 2010 16:41:23 +0000 (16:41 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Wed, 8 Sep 2010 16:41:23 +0000 (16:41 +0000) |
with stricmp and strnicmp -- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_cgi.c | patch | blob | history |
diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c
index 8ce7fba3792150fdd22c53b7c548e3497c34a7ef..1ffe8fd4639559668a2798d2bc208b42985cb14c 100644 (file)
--- a/src/rrd_cgi.c
+++ b/src/rrd_cgi.c
#include <stdlib.h>
#endif
+#ifdef WIN32
+ #define strcasecmp stricmp
+ #define strcasencmp strnicmp
+#endif
+
#define MEMBLK 1024
/*#define DEBUG_PARSER
#define DEBUG_VARS*/