Merge pull request #1331 from JPEWdev/mem-alignment-fix

Fix SIGBUS due to unaligned access
diff --git a/include/rapidjson/reader.h b/include/rapidjson/reader.h
index 4c99c93..4bbde9e 100644
--- a/include/rapidjson/reader.h
+++ b/include/rapidjson/reader.h
@@ -1701,7 +1701,7 @@
                    d = internal::StrtodNormalPrecision(d, p);
 
                // Use > max, instead of == inf, to fix bogus warning -Wfloat-equal
-               if (d > std::numeric_limits<double>::max()) {
+               if (d > (std::numeric_limits<double>::max)()) {
                    // Overflow
                    // TODO: internal::StrtodX should report overflow (or underflow)
                    RAPIDJSON_PARSE_ERROR(kParseErrorNumberTooBig, startOffset);