summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authormdejong <mdejong>2003-01-25 12:48:12 (GMT)
committermdejong <mdejong>2003-01-25 12:48:12 (GMT)
commitad8b02491a16a94904f74beefb7950ce2f17c933 (patch)
tree218e72ad308897b4b323ce9ce00ba395738f37c9 /generic/tclIO.c
parentd939e5bc50665e513f76449be2a5ede873a08f49 (diff)
downloadtcl-ad8b02491a16a94904f74beefb7950ce2f17c933.zip
tcl-ad8b02491a16a94904f74beefb7950ce2f17c933.tar.gz
tcl-ad8b02491a16a94904f74beefb7950ce2f17c933.tar.bz2
* win/configure:
* win/configure.in: Define HAVE_ALLOCA_GCC_INLINE when we detect that no alloca function is found in malloc.h and we are compiling with GCC. Remove HAVE_NO_ALLOC_DECL define. * win/tclWin32Dll.c (TclpCheckStackSpace): Don't define alloca as a cdecl function. Doing this caused a tricky runtime bug because the _alloca function expects the size argument to be passed in a register and not on the stack. To fix this problem, we use inline ASM when compiling with gcc to invoke _alloca with the size argument loaded into a register.
Diffstat (limited to 'generic/tclIO.c')
0 files changed, 0 insertions, 0 deletions