1From fe7d230da03a35725ef768c07ce064324f941863 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3Date: Sun, 1 Jul 2018 15:37:47 +0200
4Subject: [PATCH] Foundation/src/utils.h: backport double-conversion change for
5 AArch64 BE support
6
7This commit, identical to upstream double-conversion commit
8https://github.com/google/double-conversion/commit/cb2beeb6771025377c665d1c3ea08388bc6e619a
9allows Poco to build on AArch64 big-endian.
10
11Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
12Upstream: https://github.com/pocoproject/poco/pull/2378
13[Julien: rebased on version 1.10.1]
14Signed-off-by: Julien Olivain <juju@cotds.org>
15---
16 Foundation/src/utils.h | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
20index e891c0f10..892f7db18 100644
21--- a/Foundation/src/utils.h
22+++ b/Foundation/src/utils.h
23@@ -63,7 +63,7 @@
24     defined(__SH4__) || defined(__alpha__) || \
25     defined(_MIPS_ARCH_MIPS32R2) || \
26     defined(__riscv) || \
27-	defined(__AARCH64EL__) || \
28+	defined(__AARCH64EL__) || defined(__aarch64__) || \
29     defined(nios2) || defined(__nios2) || defined(__nios2__)
30 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
31 #elif defined(__mc68000__)
32--
332.26.2
34
35