summaryrefslogtreecommitdiff
path: root/rapidjsonwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'rapidjsonwrapper.h')
-rw-r--r--rapidjsonwrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rapidjsonwrapper.h b/rapidjsonwrapper.h
index 1739f5c9..0947c28c 100644
--- a/rapidjsonwrapper.h
+++ b/rapidjsonwrapper.h
@@ -27,6 +27,8 @@ struct GenericException : public ExceptionWithStackTrace
} while (0);
#define RAPIDJSON_PARSE_ERROR_NORETURN(parseErrorCode, offset) \
throw ParseException(parseErrorCode, #parseErrorCode, offset)
+#define RAPIDJSON_NO_SIZETYPEDEFINE
+namespace rapidjson { typedef ::std::size_t SizeType; }
#include "rapidjson/error/error.h"
struct ParseException : public ExceptionWithStackTrace, public rapidjson::ParseResult