diff options
author | Rolland Dudemaine <rolland@ghs.com> | 2016-04-01 08:07:59 +0200 |
---|---|---|
committer | Rolland Dudemaine <rolland@ghs.com> | 2016-04-13 08:14:54 +0000 |
commit | d67327282fb91269a1d034709b4fb320d64dfa05 (patch) | |
tree | 2057f0e0e33978724fe15d97c59f4321a7bb1660 | |
parent | 35fdf91f403056c3b4a9491cc760f218fdc01459 (diff) |
Accept correct double conversion unconditionally for GHS toolchain.
GHS floating-point libraries always handles double conversion properly.
Change-Id: Ic3c6c83e56fa0c7d29707b3939b6e7af38df0f3d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
-rw-r--r-- | src/3rdparty/double-conversion/include/double-conversion/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |