From 91bd55ccc5a116f7a8b7e17c4d20d2616d4852d6 Mon Sep 17 00:00:00 2001 From: isidorostsa Date: Tue, 17 Dec 2024 20:44:56 +0200 Subject: [PATCH] Fix HPX_HAVE_THREADS_GET_STACK_POINTER macro to match the feature test instead of GCC --- .../include/hpx/coroutines/detail/get_stack_pointer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/core/coroutines/include/hpx/coroutines/detail/get_stack_pointer.hpp b/libs/core/coroutines/include/hpx/coroutines/detail/get_stack_pointer.hpp index 2cdf3ffd5f4..26660534fcc 100644 --- a/libs/core/coroutines/include/hpx/coroutines/detail/get_stack_pointer.hpp +++ b/libs/core/coroutines/include/hpx/coroutines/detail/get_stack_pointer.hpp @@ -14,7 +14,7 @@ #if defined(HPX_WINDOWS) #define HPX_HAVE_THREADS_GET_STACK_POINTER #else -#if defined(HPX_GCC_VERSION) +#if defined(HPX_HAVE_BUILTIN_FRAME_ADDRESS) #define HPX_HAVE_THREADS_GET_STACK_POINTER #else #if defined(__x86_64__) || defined(__amd64) || defined(__i386__) || \