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:
authorPhilipp A. Hartmann <pah@qo.cx>2014-09-16 12:42:14 +0400
committerPhilipp A. Hartmann <pah@qo.cx>2014-09-16 12:42:14 +0400
commit5117f9e555dd49921d699af09fcc6319490119b3 (patch)
tree45ce4128e24d1be33f9c4673007eaa85939f4001 /include/rapidjson/rapidjson.h
parentc0bde81b03efd327b2fce56c9d81957714c19619 (diff)
explicitly qualify C(++) library functions
Some compilers do not export the standard C library functions to the global namespace, in case the C++ header variants are included (<cstdlib>, <cstring>). RapidJSON currently uses: * malloc, realloc, free * memcpy, memmove, memset, memcpy Add an explicit namespace qualification to avoid lookup problems.
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 73796e34..3f743234 100644
--- a/include/rapidjson/rapidjson.h
+++ b/include/rapidjson/rapidjson.h
@@ -46,7 +46,7 @@
*/
#include <cstdlib> // malloc(), realloc(), free(), size_t
-#include <cstring> // memcpy()
+#include <cstring> // memset(), memcpy(), memmove(), memcmp()
///////////////////////////////////////////////////////////////////////////////
// RAPIDJSON_NO_INT64DEFINE