Skip to content

Commit 9d40ca8

Browse files
authored
Merge pull request #124 from davidmy/emscripten_double
Added Emscripten (WASM) 64bit double format
2 parents b7d2fbb + d01f778 commit 9d40ca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/tao/json/external/double.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
6363
defined(__SH4__) || defined(__alpha__) || \
6464
defined(_MIPS_ARCH_MIPS32R2) || \
65-
defined(__AARCH64EL__) || defined(__aarch64__)
65+
defined(__AARCH64EL__) || defined(__aarch64__) || \
66+
defined(__EMSCRIPTEN__)
6667
#define TAO_JSON_DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
6768
#elif defined(__mc68000__)
6869
#undef TAO_JSON_DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS

0 commit comments

Comments
 (0)