diff options
author | mdejong <mdejong> | 2003-01-25 12:48:12 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-01-25 12:48:12 (GMT) |
commit | 758234180a856302c7aa063a7fbb6cb06145cd56 (patch) | |
tree | 218e72ad308897b4b323ce9ce00ba395738f37c9 /win/tcl.hpj.in | |
parent | f9b9d749cefde03a0e20c3fe82fd51cb3298e0f0 (diff) | |
download | tcl-758234180a856302c7aa063a7fbb6cb06145cd56.zip tcl-758234180a856302c7aa063a7fbb6cb06145cd56.tar.gz tcl-758234180a856302c7aa063a7fbb6cb06145cd56.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 'win/tcl.hpj.in')
0 files changed, 0 insertions, 0 deletions