summaryrefslogtreecommitdiffstats
path: root/generic/tclAlloc.c
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-11 02:49:33 (GMT)
committerstanton <stanton>1999-03-11 02:49:33 (GMT)
commit0c1e2fd32193b13a516b2efbc1c5949057aacb5c (patch)
tree4d303c5ef23fa028b72024eb47ac9352e3093fdd /generic/tclAlloc.c
parent959ef2397770f8b6b7319b28c4cee7ef60ba6ac4 (diff)
downloadtcl-0c1e2fd32193b13a516b2efbc1c5949057aacb5c.zip
tcl-0c1e2fd32193b13a516b2efbc1c5949057aacb5c.tar.gz
tcl-0c1e2fd32193b13a516b2efbc1c5949057aacb5c.tar.bz2
* generic/tclAlloc.c: Changed TCL_NATIVE_MALLOC to USE_TCLALLOC so
it matches 8.1. * generic/tclBasic.c: * generic/tcl.h: * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to macros so it can be used in .rc files. Added Tcl_GetString. * unix/Makefile.in: Added compat binaries to the stub library. Changed compat binaries to always compile with shared flags since they need to be shared for the stub library.
Diffstat (limited to 'generic/tclAlloc.c')
-rw-r--r--generic/tclAlloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclAlloc.c b/generic/tclAlloc.c
index f22efff..9314c2a 100644
--- a/generic/tclAlloc.c
+++ b/generic/tclAlloc.c
@@ -14,13 +14,13 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclAlloc.c,v 1.4 1999/03/10 05:52:46 stanton Exp $
+ * RCS: @(#) $Id: tclAlloc.c,v 1.5 1999/03/11 02:49:34 stanton Exp $
*/
#include "tclInt.h"
#include "tclPort.h"
-#ifndef USE_NATIVE_MALLOC
+#if USE_TCLALLOC
#ifdef TCL_DEBUG
# define DEBUG
@@ -457,7 +457,7 @@ mstats(
}
#endif
-#else /* USE_NATIVE_MALLOC */
+#else /* !USE_TCLALLOC */
/*
@@ -531,4 +531,4 @@ TclpRealloc(
return (char*) realloc(cp, nbytes);
}
-#endif /* USE_NATIVE_MALLOC */
+#endif /* !USE_TCLALLOC */