hc
2024-08-16 94ba65e25ce534ec0515708c9e0835242345bc7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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