From a70eb9a9828764c87ce693b69e72b0d2c4b28185 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 21 May 2019 15:42:30 -0500 Subject: [PATCH] rpmalloc: Make 64-bit arch detection more generic Change-Id: Ide9def37fd76641003dc25b7df8ade17d8443d19 Reviewed-on: https://review.haiku-os.org/c/1475 Reviewed-by: waddlesplash --- src/system/libroot/posix/rpmalloc/rpmalloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/libroot/posix/rpmalloc/rpmalloc.cpp b/src/system/libroot/posix/rpmalloc/rpmalloc.cpp index 0b2ffc765d..7e4ae27681 100644 --- a/src/system/libroot/posix/rpmalloc/rpmalloc.cpp +++ b/src/system/libroot/posix/rpmalloc/rpmalloc.cpp @@ -142,7 +142,7 @@ # endif #endif -#if defined( __x86_64__ ) || defined( _M_AMD64 ) || defined( _M_X64 ) || defined( _AMD64_ ) || defined( __arm64__ ) || defined( __aarch64__ ) +#if defined(__LLP64__) || defined(__LP64__) # define ARCH_64BIT 1 #else # define ARCH_64BIT 0