| From 5cc233e98b74c5c370de888198a2b35200d55468 Mon Sep 17 00:00:00 2001 |
| From: Florian Loitsch <florian@toitware.com> |
| Date: Sat, 12 Oct 2019 14:35:52 +0200 |
| Subject: [PATCH] Add support for microblaze. |
| |
| Really fixes #73. |
| [Retrieved (and backported) from: |
| https://github.com/google/double-conversion/commit/5cc233e98b74c5c370de888198a2b35200d55468] |
| Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> |
| --- |
| Changelog | 4 ++++ |
| double-conversion/utils.h | 1 + |
| 2 files changed, 5 insertions(+) |
| |
| diff --git a/deps/idouble-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h |
| index 1a71df0..221467f 100644 |
| --- a/deps/doyble-conversion/double-conversion/utils.h |
| +++ b/deps/double-conversion/double-conversion/utils.h |
| @@ -102,6 +102,7 @@ int main(int argc, char** argv) { |
| defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ |
| defined(__riscv) || \ |
| - defined(__or1k__) || defined(__arc__) |
| + defined(__or1k__) || defined(__arc__) || \ |
| + defined(__microblaze__) |
| #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 |
| #elif defined(__mc68000__) |
| #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS |