summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authormig <mig@noemail.net>2011-03-19 12:24:43 (GMT)
committermig <mig@noemail.net>2011-03-19 12:24:43 (GMT)
commit1c4c895b97b1291ae94ab08c66912ddd3b287eab (patch)
treeed98db3c9c8f5d427f53aae6225b449d717b5fb6 /generic/tclInt.h
parent5ac6ad00f7bd331077b2f4855aefe1b0c804d493 (diff)
downloadtcl-1c4c895b97b1291ae94ab08c66912ddd3b287eab.zip
tcl-1c4c895b97b1291ae94ab08c66912ddd3b287eab.tar.gz
tcl-1c4c895b97b1291ae94ab08c66912ddd3b287eab.tar.bz2
get purify and native to build by removing ref to ckalloc and friends
FossilOrigin-Name: 505625c2e2c62a8855ebe9d320981b0f37b78fe0
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 92c494e..a05007f 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -3861,9 +3861,9 @@ MODULE_SCOPE Tcl_Mutex *TclpNewAllocMutex(void);
#endif
#if TCL_ALLOCATOR < aNONE /* native or purify */
-# define TclpAlloc(size) ckalloc(size)
-# define TclpRealloc(ptr, size) ckrealloc((ptr),(size))
-# define TclpFree(size) ckfree(size)
+# define TclpAlloc(size) malloc(size)
+# define TclpRealloc(ptr, size) realloc((ptr),(size))
+# define TclpFree(size) free(size)
# define TclAllocMaximize(ptr) UINT_MAX
#else
MODULE_SCOPE char * TclpAlloc(unsigned int size);