rttr/lp64.patch

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