diff Mac/Modules/macmodule.c @ 4468:600f5b8a16cb legacy-trunk

Malloc debugging now flagged with USE_MALLOC_DEBUG
author Jack Jansen <jack.jansen@cwi.nl>
date Wed, 23 Oct 1996 15:46:57 +0000
parents 02a68d623805
children 44bdf0b56c0b
line wrap: on
line diff
--- a/Mac/Modules/macmodule.c	Wed Oct 23 15:46:25 1996 +0000
+++ b/Mac/Modules/macmodule.c	Wed Oct 23 15:46:57 1996 +0000
@@ -67,9 +67,6 @@
 #endif
 
 /* Optional routines, for some compiler/runtime combinations */
-#if defined(__MWERKS__) && defined(__powerc)
-#define MALLOC_DEBUG
-#endif
 #if defined(USE_GUSI) || !defined(__MWERKS__)
 #define WEHAVE_FDOPEN
 #endif
@@ -581,7 +578,7 @@
 	return newintobject((long)size);
 }
 
-#ifdef MALLOC_DEBUG
+#ifdef USE_MALLOC_DEBUG
 static object *
 mac_mstats(self, args)
 	object*self;
@@ -591,7 +588,7 @@
 	INCREF(None);
 	return None;
 }
-#endif MALLOC_DEBUG
+#endif USE_MALLOC_DEBUG
 
 static struct methodlist mac_methods[] = {
 	{"chdir",	mac_chdir},
@@ -617,7 +614,7 @@
 	{"remove",	mac_unlink},
 	{"unlink",	mac_unlink},
 	{"write",	mac_write},
-#ifdef MALLOC_DEBUG
+#ifdef USE_MALLOC_DEBUG
 	{"mstats",	mac_mstats},
 #endif