diff options
author | mig <mig> | 2011-03-19 12:24:43 (GMT) |
---|---|---|
committer | mig <mig> | 2011-03-19 12:24:43 (GMT) |
commit | c2c2d39a30718bca7a5243506be96f9a59a84322 (patch) | |
tree | ed98db3c9c8f5d427f53aae6225b449d717b5fb6 /generic | |
parent | 4843669df511f30ec9024092dcdd019a5a5792df (diff) | |
download | tcl-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')
-rw-r--r-- | generic/tclInt.h | 6 |
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); |