summaryrefslogtreecommitdiff
path: root/user/rttr/arm64.patch
blob: 012a30b3fc74db9cf356e779361e416fc3f4d1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From fe98842255defe9f0b922f46b2dd1c067088a1f2 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Tue, 2 Apr 2019 09:34:47 +0200
Subject: [PATCH] Support all LP64 architectures

---
 src/rttr/detail/base/core_prerequisites.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rttr/detail/base/core_prerequisites.h b/src/rttr/detail/base/core_prerequisites.h
index f60d91c3..6aa29d77 100644
--- a/src/rttr/detail/base/core_prerequisites.h
+++ b/src/rttr/detail/base/core_prerequisites.h
@@ -89,7 +89,7 @@ namespace rttr
 // Architecture
 /////////////////////////////////////////////////////////////////////////////////////////
 #if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || defined(__alpha__) ||\
-    defined(__ia64__) || defined(__s390__) || defined(__s390x__)
+    defined(__ia64__) || defined(__s390__) || defined(__s390x__) || defined(_LP64) || defined(__LP64__)
 #   define RTTR_ARCH_TYPE RTTR_ARCH_64
 #else
 #   define RTTR_ARCH_TYPE RTTR_ARCH_32