From 58073adcdea5c4e727dd6e52f03899f22f3bb854 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Thu, 7 Nov 2024 18:08:36 +0000 Subject: [PATCH] Bug 1927645 - Add missing parameter for moz_pthread_atfork_handler on non-glibc r=glandium Differential Revision: https://phabricator.services.mozilla.com/D227124 --- mozglue/interposers/pthread_atfork_interposer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozglue/interposers/pthread_atfork_interposer.cpp b/mozglue/interposers/pthread_atfork_interposer.cpp index 3ed7635e0ec7..9312a76775a1 100644 --- a/mozglue/interposers/pthread_atfork_interposer.cpp +++ b/mozglue/interposers/pthread_atfork_interposer.cpp @@ -126,6 +126,9 @@ MFBT_API int pthread_atfork(void (*aPrefork)(void), # if defined(LIBC_GLIBC) , dso_handle +# else + , + (void*)(1) # endif ) ? 0