Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SpectrumIM/spectrum2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Takmazov <vitalyster@gmail.com>2020-07-24 15:09:28 +0300
committervitalyster <vitalyster@gmail.com>2020-07-24 15:12:23 +0300
commit19b10896fa3426b2bd9e4e75a63ca52322373d33 (patch)
tree4828b5f6329b77480f7d3674e4389f50548583f4 /spectrum
parent1ab427d377420d0ae99b2e0bb9aba6e15901347c (diff)
musl compatibility
Diffstat (limited to 'spectrum')
-rw-r--r--spectrum/src/main.cpp2
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) {