Do not call mallopt on BSd

This commit is contained in:
Jan Kaluza 2012-10-09 09:49:03 +02:00
parent e4cf53f96f
commit ede2ffb4f8

View file

@ -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) {