summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authormig <mig>2011-03-19 12:24:43 (GMT)
committermig <mig>2011-03-19 12:24:43 (GMT)
commitc2c2d39a30718bca7a5243506be96f9a59a84322 (patch)
treeed98db3c9c8f5d427f53aae6225b449d717b5fb6 /generic/tclInt.h
parent4843669df511f30ec9024092dcdd019a5a5792df (diff)
downloadtcl-c2c2d39a30718bca7a5243506be96f9a59a84322.zip
tcl-c2c2d39a30718bca7a5243506be96f9a59a84322.tar.gz
tcl-c2c2d39a30718bca7a5243506be96f9a59a84322.tar.bz2
get purify and native to build by removing ref to ckalloc and friends
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);