projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update compilation flag:
[SXSI/xpathcomp.git]
/
src
/
common_stub.cpp
diff --git
a/src/common_stub.cpp
b/src/common_stub.cpp
index
dde97fa
..
12b354e
100644
(file)
--- a/
src/common_stub.cpp
+++ b/
src/common_stub.cpp
@@
-6,6
+6,8
@@
extern "C" {
#include <sys/time.h>
#include <sys/resource.h>
extern "C" {
#include <sys/time.h>
#include <sys/resource.h>
+#include <malloc.h>
+
}
using std::string;
}
using std::string;
@@
-81,6
+83,7
@@
extern "C" value sxsi_cpp_init(value unit)
rlim.rlim_cur = RLIM_INFINITY;
setrlimit(RLIMIT_STACK, &rlim);
};
rlim.rlim_cur = RLIM_INFINITY;
setrlimit(RLIMIT_STACK, &rlim);
};
+ // mallopt(M_MMAP_THRESHOLD, 0);
return Val_unit;
}
return Val_unit;
}