mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-24 16:13:38 +03:00
mark _pthread_mutex_init_calloc_cb as public explicitly
Mozilla build hides everything by default using visibility pragma and unhides only explicitly listed headers. But this doesn't work on FreeBSD because _pthread_mutex_init_calloc_cb is neither documented nor exposed via any header.
This commit is contained in:
parent
2cc11ff837
commit
d0ffd8ed4f
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ pthread_create(pthread_t *__restrict thread,
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
#ifdef JEMALLOC_MUTEX_INIT_CB
|
#ifdef JEMALLOC_MUTEX_INIT_CB
|
||||||
int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex,
|
JEMALLOC_EXPORT int _pthread_mutex_init_calloc_cb(pthread_mutex_t *mutex,
|
||||||
void *(calloc_cb)(size_t, size_t));
|
void *(calloc_cb)(size_t, size_t));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue