From ede2ffb4f86b296f6b48154d911bc4cbf201369b 2012-10-09 09:49:03 From: Jan Kaluza Date: 2012-10-09 09:49:03 Subject: [PATCH] Do not call mallopt on BSd --- diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 75169b1a548d76cb3746196d14bc9b453d434460..82352ad4c6156940769cb2353b558d69591ec247 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) {