summaryrefslogtreecommitdiff
path: root/src/common/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/malloc.h')
-rw-r--r--src/common/malloc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/malloc.h b/src/common/malloc.h
index eec138cdd..c59c08a4e 100644
--- a/src/common/malloc.h
+++ b/src/common/malloc.h
@@ -75,6 +75,10 @@
#endif
-int do_init_memmgr(const char* file);
+#ifndef USE_MEMMGR
+ #define do_init_memmgr(file)
+#else
+ int do_init_memmgr(const char* file);
+#endif
#endif