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
path: root/src
diff options
context:
space:
mode:
authorMike Anchor <git@mjpa.co.uk>2012-02-14 23:11:12 +0400
committerMike Anchor <git@mjpa.co.uk>2012-02-14 23:11:12 +0400
commit8fb7fd07a918166e1d2ba0baaf75ab32f2061ba2 (patch)
treec4bd089daf75a8496688cc44b2c9e6880d701cfc /src
parentcf8aa3087747f76745fc30f38e6aff4af74e9cef (diff)
Compile fix for Lion
Diffstat (limited to 'src')
-rw-r--r--src/JSON.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JSON.h b/src/JSON.h
index 4356fa7..f9d1060 100644
--- a/src/JSON.h
+++ b/src/JSON.h
@@ -42,8 +42,8 @@
#include <cstdlib>
#endif
-// Mac compile fixes - from quaker66
-#if defined(__APPLE__) || (defined(WIN32) && defined(__GNUC__))
+// Mac compile fixes - from quaker66, Lion fix by dabrahams
+#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L || (defined(WIN32) && defined(__GNUC__))
#include <wctype.h>
#include <wchar.h>