mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
RapidJSON: use 64bits wide size types
Promote to 64 bits since that is what our target uses.
This commit is contained in:
parent
18f2e27409
commit
9bcbf3187c
@ -25,6 +25,13 @@
|
||||
|
||||
#include "thirdparty/curl/include/curl/curl.h"
|
||||
|
||||
// RapidJSON uses 32 bit size types. Size types are
|
||||
// 64 bit wide on our target. Override it with ours.
|
||||
// this must be done before the rapidjson.h include.
|
||||
#define RAPIDJSON_NO_SIZETYPEDEFINE
|
||||
namespace rapidjson { typedef ::std::size_t SizeType; }
|
||||
|
||||
#include "rapidjson/rapidjson.h"
|
||||
#include "rapidjson/document.h"
|
||||
#include "rapidjson/writer.h"
|
||||
#include "rapidjson/stringbuffer.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user