From ac81b016967970dddf0419eb65f1ab50a5d6d79b Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Thu, 4 Aug 2022 13:58:48 -0400 Subject: [PATCH] Added __EMSCRIPTEN__ patch --- include/fast_float/float_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/float_common.h b/include/fast_float/float_common.h index bb8580e..d11a3fa 100644 --- a/include/fast_float/float_common.h +++ b/include/fast_float/float_common.h @@ -16,7 +16,7 @@ #define FASTFLOAT_64BIT #elif (defined(__i386) || defined(__i386__) || defined(_M_IX86) \ || defined(__arm__) || defined(_M_ARM) \ - || defined(__MINGW32__)) + || defined(__MINGW32__) || defined(__EMSCRIPTEN__)) #define FASTFLOAT_32BIT #else // Need to check incrementally, since SIZE_MAX is a size_t, avoid overflow.