Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 1 | From 9afb0e4d3b9209ea198052cea0401bef7ee25ad8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> |
| 3 | Date: Thu, 9 May 2019 12:23:40 +0900 |
| 4 | Subject: [PATCH] To fix build error on arm32BE. |
| 5 | |
| 6 | error: #error Target architecture was not detected as supported by Double-Conversion. |
| 7 | |
| 8 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> |
| 9 | --- |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 10 | mfbt/double-conversion/double-conversion/utils.h | 2 +- |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 13 | diff --git a/mfbt/double-conversion/double-conversion/utils.h b/mfbt/double-conversion/double-conversion/utils.h |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 14 | index 4f37218..93575cb 100644 |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 15 | --- a/mfbt/double-conversion/double-conversion/utils.h |
| 16 | +++ b/mfbt/double-conversion/double-conversion/utils.h |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 17 | @@ -53,7 +53,7 @@ |
| 18 | // disabled.) |
| 19 | // On Linux,x86 89255e-22 != Div_double(89255.0/1e22) |
| 20 | #if defined(_M_X64) || defined(__x86_64__) || \ |
| 21 | - defined(__ARMEL__) || defined(__avr32__) || \ |
| 22 | + defined(__arm__) || defined(__avr32__) || \ |
| 23 | defined(__hppa__) || defined(__ia64__) || \ |
| 24 | defined(__mips__) || \ |
| 25 | defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ |
| 26 | -- |
| 27 | 2.7.4 |
| 28 | |