diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-09-25 17:53:10 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-09-25 17:53:10 +0300 |
commit | 2ae044926291c159bc2391e4fb555eaeb2417607 (patch) | |
tree | 9f38acb1081f5cfc04c03affa6c33a47d443f3c9 /src | |
parent | 8e2fd89634bedd4570a2d3d885c209a0e1d20d62 (diff) | |
download | unit-2ae044926291c159bc2391e4fb555eaeb2417607.tar.gz unit-2ae044926291c159bc2391e4fb555eaeb2417607.tar.bz2 |
Checking mallopt() during configure.
mallopt() is absent on Alpine musl.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_lib.c b/src/nxt_lib.c index 32bd0eff..db3d29c1 100644 --- a/src/nxt_lib.c +++ b/src/nxt_lib.c @@ -48,7 +48,7 @@ nxt_lib_start(const char *app, char **argv, char ***envp) nxt_main_log.level = NXT_LOG_DEBUG; -#if (NXT_LINUX) +#if (NXT_HAVE_MALLOPT) /* Fill memory with 0xAA after malloc() and with 0x55 before free(). */ mallopt(M_PERTURB, 0x55); #endif |