mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
* malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined.
This commit is contained in:
@@ -160,6 +160,10 @@ static void (*save_free_hook) (__malloc_ptr_t __ptr,
|
||||
__const __malloc_ptr_t);
|
||||
static Void_t* save_arena;
|
||||
|
||||
#ifdef ATFORK_MEM
|
||||
ATFORK_MEM;
|
||||
#endif
|
||||
|
||||
/* Magic value for the thread-specific arena pointer when
|
||||
malloc_atfork() is in use. */
|
||||
|
||||
|
Reference in New Issue
Block a user