mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 788955 - Mark some jemalloc functions as weak on BSDs. r=glandium
This commit is contained in:
parent
4697f18049
commit
3f52b11bfc
@ -47,14 +47,15 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_NATIVE_JEMALLOC) || defined(MOZ_MEMORY_LINUX)
|
||||
#if defined(MOZ_NATIVE_JEMALLOC) \
|
||||
|| defined(MOZ_MEMORY_LINUX) || defined(MOZ_MEMORY_BSD)
|
||||
__attribute__((weak))
|
||||
#endif
|
||||
void jemalloc_stats(jemalloc_stats_t *stats);
|
||||
|
||||
/* Computes the usable size in advance. */
|
||||
#if !defined(MOZ_MEMORY_DARWIN)
|
||||
#if defined(MOZ_MEMORY_LINUX)
|
||||
#if defined(MOZ_MEMORY_LINUX) || defined(MOZ_MEMORY_BSD)
|
||||
__attribute__((weak))
|
||||
#endif
|
||||
#if defined(MOZ_JEMALLOC)
|
||||
|
Loading…
Reference in New Issue
Block a user