diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 75169b1a..82352ad4 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -130,9 +130,11 @@ int main(int argc, char **argv) setlocale(LC_ALL, ""); #ifndef WIN32 +#ifndef __FreeBSD__ mallopt(M_CHECK_ACTION, 2); mallopt(M_PERTURB, 0xb); #endif +#endif #ifndef WIN32 if (signal(SIGINT, spectrum_sigint_handler) == SIG_ERR) {