diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-08-15 21:23:36 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-08-15 21:24:46 +0000 |
| commit | da260ab23f26cea5569ff8ecd83eeb49411af233 (patch) | |
| tree | fa7a6ea80671993bfe37af729f0db54047e282b8 /contrib | |
| parent | 6371645df7b098e3125cce92b3e46f55291ed71c (diff) | |
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/jemalloc/src/mutex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/jemalloc/src/mutex.c b/contrib/jemalloc/src/mutex.c index 88a7730c64c1..6e2989aa4d9f 100644 --- a/contrib/jemalloc/src/mutex.c +++ b/contrib/jemalloc/src/mutex.c @@ -42,6 +42,7 @@ pthread_create(pthread_t *__restrict thread, JEMALLOC_EXPORT int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, void *(calloc_cb)(size_t, size_t)); +#ifndef JEMALLOC_NO_PRIVATE_NAMESPACE #pragma weak _pthread_mutex_init_calloc_cb int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, @@ -53,6 +54,7 @@ _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex, calloc_cb)); } #endif +#endif void malloc_mutex_lock_slow(malloc_mutex_t *mutex) { |
