Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MJPA/SimpleJSON.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/JSONValue.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/JSONValue.cpp b/src/JSONValue.cpp
index cbf8648..c25bc78 100644
--- a/src/JSONValue.cpp
+++ b/src/JSONValue.cpp
@@ -33,6 +33,10 @@
#include "JSONValue.h"
+#ifdef __MINGW32__
+#define wcsncasecmp wcsnicmp
+#endif
+
// Macros to free an array/object
#define FREE_ARRAY(x) { JSONArray::iterator iter; for (iter = x.begin(); iter != x.end(); iter++) { delete *iter; } }
#define FREE_OBJECT(x) { JSONObject::iterator iter; for (iter = x.begin(); iter != x.end(); iter++) { delete (*iter).second; } }