summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-12-03 16:47:36 -0800
committerJason Evans <jasone@canonware.com>2016-12-03 16:56:19 -0800
commit145f3cd17340ae3a1af8aad3bdce8ddcc626ec67 (patch)
tree7a41417f6247e9f3094f1c2b1a2f10d40d98cdf6 /src/util.c
parente1b2970d28d26454de9345e1510c6bae257e82e4 (diff)
downloadjemalloc-rc-4.4.0.tar.gz
Add --disable-syscall.rc-4.4.0
This resolves #517.
Diffstat (limited to 'src/util.c')
-rwxr-xr-xsrc/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 5b8175bc..dd8c2363 100755
--- a/src/util.c
+++ b/src/util.c
@@ -49,7 +49,7 @@ static void
wrtmessage(void *cbopaque, const char *s)
{
-#if defined(JEMALLOC_HAVE_SYSCALL) && defined(SYS_write)
+#if defined(JEMALLOC_USE_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