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

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2016-02-14 08:49:52 +0300
committerMilo Yip <miloyip@gmail.com>2016-02-14 08:49:52 +0300
commit1634395378d886c4461e78117ecb715e1619d968 (patch)
treeaac6faf0ea25d42f260430f79a490f2ed69f36ac /include/rapidjson/rapidjson.h
parent923db0e6413a5589a67fdc7f5b2e694f09e6f16c (diff)
Add object helper
Diffstat (limited to 'include/rapidjson/rapidjson.h')
-rw-r--r--include/rapidjson/rapidjson.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/rapidjson.h b/include/rapidjson/rapidjson.h
index d5480ec1..d0bbd100 100644
--- a/include/rapidjson/rapidjson.h
+++ b/include/rapidjson/rapidjson.h
@@ -531,7 +531,7 @@ RAPIDJSON_NAMESPACE_END
#endif
#ifndef RAPIDJSON_HAS_CXX11_RANGE_FOR
-#if defined(__clang)
+#if defined(__clang__)
#define RAPIDJSON_HAS_CXX11_RANGE_FOR __has_feature(cxx_range_for)
#elif (defined(RAPIDJSON_GNUC) && (RAPIDJSON_GNUC >= RAPIDJSON_VERSION_CODE(4,3,0)) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || \
(defined(_MSC_VER) && _MSC_VER >= 1600)