exclude heap usage for windows compile under __MINGW__

This commit is contained in:
dwarning 2009-02-01 18:09:15 +00:00
parent 0880c33088
commit 9071404c63
2 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,7 @@ static void freeRun(runDesc *run);
to prevent massive memory fragmentation of standard process heap. to prevent massive memory fragmentation of standard process heap.
This is especially required by TCL for Windows, but may help This is especially required by TCL for Windows, but may help
also under standard Windows GUI. */ also under standard Windows GUI. */
#if (defined(HAS_TCLWIN)) && (defined(_MSC_VER) || defined(__MINGW32__)) #if (defined(HAS_TCLWIN)) && ((defined(_MSC_VER) || defined(__MINGW32__)))
#define newrealloc hrealloc #define newrealloc hrealloc
#else #else
#define newrealloc trealloc #define newrealloc trealloc

View File

@ -143,7 +143,6 @@ trealloc(void *ptr, size_t num)
Function is used in outitf.c to prevent heap fragmentation Function is used in outitf.c to prevent heap fragmentation
An additional heap outheap is used to store the plot output data. An additional heap outheap is used to store the plot output data.
*/ */
//#if defined(HAS_WINDOWS) || defined(HAS_TCLWIN)
#if defined(HAS_TCLWIN) #if defined(HAS_TCLWIN)
#if defined(_MSC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)
void * void *