diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-22 10:51:04 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-22 10:51:04 (GMT) |
commit | 52c7ab0373f510018f799d3937d4ced51b2a481e (patch) | |
tree | 5c72174728826ad431deabc97f7e66399f8d3fe3 /win/tclWinError.c | |
parent | 75b72ab54e7ab91e546d421b9f205b3bc787ec02 (diff) | |
download | tcl-52c7ab0373f510018f799d3937d4ced51b2a481e.zip tcl-52c7ab0373f510018f799d3937d4ced51b2a481e.tar.gz tcl-52c7ab0373f510018f799d3937d4ced51b2a481e.tar.bz2 |
Restored the possibility to define a panicproc as
low memory handler See: [#1446864]
Diffstat (limited to 'win/tclWinError.c')
-rw-r--r-- | win/tclWinError.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c index 63e9598..49eeed3 100644 --- a/win/tclWinError.c +++ b/win/tclWinError.c @@ -410,6 +410,12 @@ tclWinDebugPanic( fprintf(stderr, "\n"); fflush(stderr); } +# if defined(__GNUC__) + __builtin_trap(); +# else + DebugBreak(); +# endif + abort(); } #endif /* |