diff options
author | Jason Evans <jasone@canonware.com> | 2016-11-03 02:18:33 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-11-03 02:18:33 (GMT) |
commit | d82f2b3473daef45d92d2a83d11487b22f9db4d3 (patch) | |
tree | bbc90aba058c1c43ddc8e86372f46e890b076c1b /src/util.c | |
parent | 795f6689dec28f161afbf5964ef1b17288dd384d (diff) | |
download | jemalloc-d82f2b3473daef45d92d2a83d11487b22f9db4d3.zip jemalloc-d82f2b3473daef45d92d2a83d11487b22f9db4d3.tar.gz jemalloc-d82f2b3473daef45d92d2a83d11487b22f9db4d3.tar.bz2 |
Do not use syscall(2) on OS X 10.12 (deprecated).
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 1 insertions, 1 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 |