FreeBSD also needs the OS-X "don't declare system functions as

nothrow" fix since it also has jemalloc in the base system
This commit is contained in:
Craig Leres 2022-01-04 17:29:31 -08:00 committed by David Goldblatt
parent 89fe8ee6bf
commit c9946fa7e6

View File

@ -142,7 +142,7 @@
# define JEMALLOC_COLD
#endif
#if defined(__APPLE__) && !defined(JEMALLOC_NO_RENAME)
#if (defined(__APPLE__) || defined(__FreeBSD__)) && !defined(JEMALLOC_NO_RENAME)
# define JEMALLOC_SYS_NOTHROW
#else
# define JEMALLOC_SYS_NOTHROW JEMALLOC_NOTHROW