diff options
author | Vitaly Takmazov <vitalyster@gmail.com> | 2020-07-24 15:09:28 +0300 |
---|---|---|
committer | vitalyster <vitalyster@gmail.com> | 2020-07-24 15:12:23 +0300 |
commit | 19b10896fa3426b2bd9e4e75a63ca52322373d33 (patch) | |
tree | 4828b5f6329b77480f7d3674e4389f50548583f4 /spectrum | |
parent | 1ab427d377420d0ae99b2e0bb9aba6e15901347c (diff) |
musl compatibility
Diffstat (limited to 'spectrum')
-rw-r--r-- | spectrum/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 0f5985a2..89e5b9a1 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -320,11 +320,13 @@ int main(int argc, char **argv) #ifndef WIN32 #ifndef __FreeBSD__ #ifndef __MACH__ +#if defined (__GLIBC__) mallopt(M_CHECK_ACTION, 2); mallopt(M_PERTURB, 0xb); #endif #endif #endif +#endif #ifndef WIN32 if (signal(SIGINT, spectrum_sigint_handler) == SIG_ERR) { |