From c2c2d39a30718bca7a5243506be96f9a59a84322 Mon Sep 17 00:00:00 2001 From: mig Date: Sat, 19 Mar 2011 12:24:43 +0000 Subject: get purify and native to build by removing ref to ckalloc and friends --- generic/tclInt.h | 6 +++--- 1 file 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); -- cgit v0.12