aboutsummaryrefslogtreecommitdiff
path: root/sys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sys.cpp')
-rw-r--r--sys.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys.cpp b/sys.cpp
index f6100b81ef..c7f6dbe2d1 100644
--- a/sys.cpp
+++ b/sys.cpp
@@ -182,3 +182,7 @@ char *strdup(const char *s) {
}
#endif /* NEED_STRDUP */
+
+void *operator new(size_t size) {
+ return calloc(size,1);
+}