forked from github/server
ifdef enclosure of doug lea malloc
This commit is contained in:
parent
70413bb43c
commit
71dee49bbb
|
@ -5,6 +5,11 @@ CC = gcc ;
|
|||
|
||||
LINKFLAGS += -rdynamic ;
|
||||
|
||||
if $(MSPACES) {
|
||||
CCFLAGS += -DMSPACES ;
|
||||
C++FLAGS += -DMSPACES ;
|
||||
}
|
||||
|
||||
if ! $(HAVE_LUA) {
|
||||
HAVE_LUA = 1 ;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include <attributes/moved.h>
|
||||
|
||||
/* util includes */
|
||||
#include <base36.h>
|
||||
#include <util/base36.h>
|
||||
#include <event.h>
|
||||
#include <goodies.h>
|
||||
#include <resolve.h>
|
||||
|
@ -56,7 +56,6 @@
|
|||
#define FIND_FOREIGN_TEMP
|
||||
|
||||
int demonfix = 0;
|
||||
/* ------------------------------------------------------------- */
|
||||
|
||||
const unit *
|
||||
u_peasants(void)
|
||||
|
|
|
@ -9,7 +9,7 @@ SEARCH_SOURCE +=
|
|||
[ FDirName $(SUBDIR) dl ] ;
|
||||
|
||||
SOURCES =
|
||||
#<dl>malloc.c
|
||||
<dl>malloc.c
|
||||
attrib.c
|
||||
base36.c
|
||||
command.c
|
||||
|
|
|
@ -87,7 +87,9 @@
|
|||
#include <util/log.h>
|
||||
#include <util/rand.h>
|
||||
#include <util/sql.h>
|
||||
#ifdef MSPACES
|
||||
# include <util/dl/malloc.h>
|
||||
#endif
|
||||
|
||||
/* lua includes */
|
||||
#include "lua/bindings.h"
|
||||
|
@ -701,7 +703,9 @@ main(int argc, char *argv[])
|
|||
}
|
||||
#endif
|
||||
}
|
||||
#ifdef MSPACES
|
||||
malloc_stats();
|
||||
#endif
|
||||
#ifdef CLEANUP_CODE
|
||||
game_done();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue