Adam Majer
01ebd0ff1c
- lp64.patch: Support all LP64 architectures OBS-URL: https://build.opensuse.org/request/show/701517 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/rttr?expand=0&rev=6
14 lines
742 B
Diff
14 lines
742 B
Diff
Index: rttr-0.9.6/src/rttr/detail/base/core_prerequisites.h
|
|
===================================================================
|
|
--- rttr-0.9.6.orig/src/rttr/detail/base/core_prerequisites.h
|
|
+++ rttr-0.9.6/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
|