mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-17 10:26:27 +03:00
Do not use syscall(2) on OS X 10.12 (deprecated).
This commit is contained in:
parent
795f6689de
commit
d82f2b3473
4 changed files with 24 additions and 4 deletions
|
|
@ -49,7 +49,7 @@ static void
|
|||
wrtmessage(void *cbopaque, const char *s)
|
||||
{
|
||||
|
||||
#ifdef SYS_write
|
||||
#if defined(JEMALLOC_HAVE_SYSCALL) && defined(SYS_write)
|
||||
/*
|
||||
* Use syscall(2) rather than write(2) when possible in order to avoid
|
||||
* the possibility of memory allocation within libc. This is necessary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue