mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1104173 - Properly export jemalloc_* symbols from the jemalloc3 replace-malloc library. r=njn
Bug 818922 made MOZ_REPLACE_MALLOC a global define, and that changed the defines set when building mozjemalloc_compat.c for the jemalloc3 replace-malloc library. In turn, this made the symbol munging wrong for that library, making the jemalloc_* functions exported as je_jemalloc_* instead of replace_jemalloc_*.
This commit is contained in:
parent
39bb8152ff
commit
e2e878c195
@ -127,7 +127,7 @@
|
||||
|
||||
#if !defined(MOZ_NATIVE_JEMALLOC)
|
||||
# ifdef MOZ_MEMORY_IMPL
|
||||
# if defined(MOZ_JEMALLOC_IMPL) && defined(MOZ_REPLACE_MALLOC)
|
||||
# if defined(MOZ_JEMALLOC_IMPL) && defined(MOZ_REPLACE_MALLOC) && !defined(MOZ_REPLACE_JEMALLOC)
|
||||
# define mozmem_malloc_impl(a) je_ ## a
|
||||
# define mozmem_jemalloc_impl(a) je_ ## a
|
||||
# else
|
||||
|
Loading…
Reference in New Issue
Block a user