From d67327282fb91269a1d034709b4fb320d64dfa05 Mon Sep 17 00:00:00 2001 From: Rolland Dudemaine Date: Fri, 1 Apr 2016 08:07:59 +0200 Subject: Accept correct double conversion unconditionally for GHS toolchain. GHS floating-point libraries always handles double conversion properly. Change-Id: Ic3c6c83e56fa0c7d29707b3939b6e7af38df0f3d Reviewed-by: Oswald Buddenhagen Reviewed-by: Ulf Hermann Reviewed-by: Andy Nichols --- src/3rdparty/double-conversion/include/double-conversion/utils.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/3rdparty/double-conversion/include/double-conversion/utils.h b/src/3rdparty/double-conversion/include/double-conversion/utils.h index 53eec64282..a89b284eda 100644 --- a/src/3rdparty/double-conversion/include/double-conversion/utils.h +++ b/src/3rdparty/double-conversion/include/double-conversion/utils.h @@ -76,6 +76,9 @@ #endif // _WIN32 #elif defined(WINCE) || defined(_WIN32_WCE) #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 +#elif defined(__ghs) +// Green Hills toolchain uses a 64bit wide floating point stack +#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 #else #error Target architecture was not detected as supported by Double-Conversion. #endif -- cgit v1.2.3