summaryrefslogtreecommitdiff
path: root/src/common/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/malloc.c')
-rw-r--r--src/common/malloc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/malloc.c b/src/common/malloc.c
index 703933d01..747423b47 100644
--- a/src/common/malloc.c
+++ b/src/common/malloc.c
@@ -7,6 +7,9 @@
#include "memwatch.h"
#endif
+// 独自メモリマネージャを使用する場合、次のコメントを外してください。
+// #define USE_MEMMGR
+
#if !defined(DMALLOC) && !defined(GCOLLECT) && !defined(BCHECK) && !defined(USE_MEMMGR)
void* aMalloc_( size_t size, const char *file, int line, const char *func )
@@ -90,10 +93,6 @@ void aFree_( void *p, const char *file, int line, const char *func )
#endif
}
-int do_init_memmgr(const char* file) {
- return 0;
-}
-
#elif defined(GCOLLECT)
void * _bcallocA(size_t size, size_t cnt) {