Do not call mallopt on BSd
This commit is contained in:
parent
e4cf53f96f
commit
ede2ffb4f8
1 changed files with 2 additions and 0 deletions
|
@ -130,9 +130,11 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
#ifndef __FreeBSD__
|
||||||
mallopt(M_CHECK_ACTION, 2);
|
mallopt(M_CHECK_ACTION, 2);
|
||||||
mallopt(M_PERTURB, 0xb);
|
mallopt(M_PERTURB, 0xb);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
if (signal(SIGINT, spectrum_sigint_handler) == SIG_ERR) {
|
if (signal(SIGINT, spectrum_sigint_handler) == SIG_ERR) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue