mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 14:30:43 +00: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
07d0e3944e
commit
c04636bda3
@ -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…
x
Reference in New Issue
Block a user