From: Satoshi Adachi Date: Fri, 2 Aug 2024 08:00:16 +0000 (+0200) Subject: [BUGFIX] calchhash(): work around broken RTTI on MacOS. X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=fb343627b792016b5632f44177b4bbaf682498eb;p=ginac.git [BUGFIX] calchhash(): work around broken RTTI on MacOS. Use workaround from 0256e2fe48a0 also if __APPLE__ is defined. --- 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