Add --disable-syscall.

This resolves #517.
This commit is contained in:
Jason Evans 2016-12-03 16:47:36 -08:00
parent e1b2970d28
commit 145f3cd173
5 changed files with 33 additions and 15 deletions

View file

@ -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