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-08-02 05:47:00 +0300
committerGitHub <noreply@github.com>2016-08-02 05:47:00 +0300
commitab791ae90cbfd2e229be1b5e9db577728cfb3352 (patch)
tree69f85fed7d42abae2365d418f665c93bf2a80005
parentfedae8552a618c1a68adf7ba850b55989bec79c1 (diff)
parent323a0dce43cd80d336e2571956f2339c9422ea3d (diff)
Merge pull request #703 from jmallach/master
Fix builds on x32 platform.
-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 062e25e1..4bdaed61 100644
--- a/include/rapidjson/rapidjson.h
+++ b/include/rapidjson/rapidjson.h
@@ -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