Compile out memory checker if not enabled - patch by Kp
This commit is contained in:
parent
0df40b1e77
commit
690a99c15d
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20120902
|
||||
--------
|
||||
include/u_mem.h: Compile out memory checker if not enabled - patch by Kp
|
||||
|
||||
20120901
|
||||
--------
|
||||
main/vers_id.h: Fixed incorrect patch merge introduced in the last commit
|
||||
|
|
|
@ -22,10 +22,9 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|||
extern ubyte virtual_memory_on;
|
||||
#endif
|
||||
|
||||
void mem_init(void);
|
||||
|
||||
#if !defined(NDEBUG)
|
||||
|
||||
void mem_init(void);
|
||||
void mem_display_blocks();
|
||||
extern void * mem_malloc( unsigned int size, char * var, char * file, int line, int fill_zero );
|
||||
extern void * mem_realloc( void * buffer, unsigned int size, char * var, char * file, int line );
|
||||
|
@ -45,6 +44,10 @@ void mem_validate_heap();
|
|||
|
||||
#else
|
||||
|
||||
static inline void mem_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
#ifdef macintosh
|
||||
extern char *strdup(const char *str);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue