Merge pull request #703 from jmallach/master

Fix builds on x32 platform.
This commit is contained in:
Milo Yip 2016-08-02 10:47:00 +08:00 committed by GitHub
commit ab791ae90c

View File

@ -250,7 +250,7 @@
//! Whether using 64-bit architecture
#ifndef RAPIDJSON_64BIT
#if defined(__LP64__) || defined(_WIN64) || defined(__EMSCRIPTEN__)
#if defined(__LP64__) || (defined(__x86_64__) && defined(__ILP32__)) || defined(_WIN64) || defined(__EMSCRIPTEN__)
#define RAPIDJSON_64BIT 1
#else
#define RAPIDJSON_64BIT 0