From fb343627b792016b5632f44177b4bbaf682498eb Mon Sep 17 00:00:00 2001 From: Satoshi Adachi Date: Fri, 2 Aug 2024 10:00:16 +0200 Subject: [PATCH] [BUGFIX] calchhash(): work around broken RTTI on MacOS. Use workaround from 0256e2fe48a0 also if __APPLE__ is defined. --- ginac/hash_seed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/hash_seed.h b/ginac/hash_seed.h index 9b163cf8..c9783726 100644 --- a/ginac/hash_seed.h +++ b/ginac/hash_seed.h @@ -8,7 +8,7 @@ #include #include #include "utils.h" -#ifdef _WIN32 +#if defined(_WIN32) || defined(__APPLE__) #define GINAC_HASH_USE_MANGLED_NAME 1 #endif -- 2.46.0