diff options
author | Olivier Certner <olce.palemoon@certner.fr> | 2021-02-05 12:57:37 +0100 |
---|---|---|
committer | Olivier Certner <olce.palemoon@certner.fr> | 2021-02-05 18:22:59 +0100 |
commit | 9f2085b5e9cacef40e942b72fc9b4e729defe2c1 (patch) | |
tree | 94551830912586be4ad3dc4c080368a92bd5d5cf | |
parent | 1305a9187e7c2c045e1af80cfb103322dd3c4692 (diff) | |
download | uxp-9f2085b5e9cacef40e942b72fc9b4e729defe2c1.tar.gz |
Issue #1699 - Follow-up: mozjemalloc: Fix build by excluding some irrelevant init_lock code
This had been initially dealt with in issue #1699's commits, but one of them
was in the end reverted, which caused this problem (this change should have
been done there).
-rw-r--r-- | memory/mozjemalloc/jemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c index a25bb7a570..5b8a6c3264 100644 --- a/memory/mozjemalloc/jemalloc.c +++ b/memory/mozjemalloc/jemalloc.c @@ -5251,7 +5251,7 @@ malloc_init_hard(void) * Another thread initialized the allocator before this one * acquired init_lock. */ -#ifndef MOZ_MEMORY_WINDOWS +#if !(defined(MOZ_MEMORY_WINDOWS) || defined(__FreeBSD__)) malloc_mutex_unlock(&init_lock); #endif return (false); |