diff --git a/src/misc/alloc.c b/src/misc/alloc.c index d712464c0..257e7341c 100644 --- a/src/misc/alloc.c +++ b/src/misc/alloc.c @@ -143,7 +143,7 @@ trealloc(void *ptr, size_t num) Function is used in outitf.c to prevent heap fragmentation An additional heap outheap is used to store the plot output data. */ -#ifdef HAS_WINDOWS +#if defined(HAS_WINDOWS) || defined(HAS_TCLWIN) #if defined(_MSC_VER) || defined(__MINGW32__) void * hrealloc(void *ptr, size_t num)