extern "C" {
#include <sys/time.h>
#include <sys/resource.h>
+#include <malloc.h>
+
}
using std::string;
rlim.rlim_cur = RLIM_INFINITY;
setrlimit(RLIMIT_STACK, &rlim);
};
+ // mallopt(M_MMAP_THRESHOLD, 0);
return Val_unit;
}
-void sxsi_raise_msg(char * msg)
+void sxsi_raise_msg(const char * msg)
{
if (cpp_exception == 0) init_error();
caml_raise_with_string(*cpp_exception, msg);