add HAS_TCLWIN

This commit is contained in:
h_vogt 2009-01-18 12:09:56 +00:00
parent 9c334af5f4
commit 488771485e
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2009-01-18 Holger Vogt
* src/frontend/mw_coms.c: variable declarations to top of function
* outif.c, alloc.c: add HAS_TCLWIN flag to allow coimpilation of
tclspice under MS VC++
2009-01-16 Paolo Nenzi
* src/frontend/mw_coms.c, src/frontend/commands.c,

View File

@ -65,8 +65,10 @@ static void freeRun(runDesc *run);
/*saj*/
/* plot output data shall go into extra heap
to prevent massive memory fragmentation of standard process heap */
#if defined HAS_WINDOWS && (defined(_MSC_VER) || defined(__MINGW32__))
to prevent massive memory fragmentation of standard process heap.
This is especially required by TCL for Windows, but may help
also under standard Windows GUI. */
#if (defined(HAS_WINDOWS) || defined(HAS_TCLWIN)) && (defined(_MSC_VER) || defined(__MINGW32__))
#define newrealloc hrealloc
#else
#define newrealloc trealloc

View File

@ -15,7 +15,7 @@ $Id$
#include <tcl.h>
#endif
#ifdef HAS_WINDOWS
#if defined(HAS_WINDOWS) || defined(HAS_TCLWIN)
#if defined(_MSC_VER) || defined(__MINGW32__)
#undef BOOLEAN
#include <windows.h>