summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixPort.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-06-17 03:48:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-06-17 03:48:18 (GMT)
commita7bfb25cf558c4f2ba054227660dfe3a31523219 (patch)
treedbee9a76f5b1da8d4edc5ce3870efb502431c376 /unix/tclUnixPort.h
parented0c34adaed8a98ee5dc98e08810561ef81aa41c (diff)
downloadtcl-a7bfb25cf558c4f2ba054227660dfe3a31523219.zip
tcl-a7bfb25cf558c4f2ba054227660dfe3a31523219.tar.gz
tcl-a7bfb25cf558c4f2ba054227660dfe3a31523219.tar.bz2
* generic/tclInt.decls:
* generic/tclInt.h: * generic/tclPanic.c (Tcl_PanicVA): * mac/tclMacAppInit.c (main): * mac/tclMacPanic.c (TclpPanic): * unix/tclUnixPort.h: * win/tclWinPort.h: Replaced TclMacSetPanic with TclpPanic for setting a platform-specific panic handler. TclpPanic is NULL on Unix and Windows. Fixes broken wish on Mac due to earlier patches. [Patch 415648] * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: `make gentubs` after above changes.
Diffstat (limited to 'unix/tclUnixPort.h')
-rw-r--r--unix/tclUnixPort.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/unix/tclUnixPort.h b/unix/tclUnixPort.h
index d5b683c..1e7985d 100644
--- a/unix/tclUnixPort.h
+++ b/unix/tclUnixPort.h
@@ -19,7 +19,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixPort.h,v 1.16 2000/07/26 01:28:11 davidg Exp $
+ * RCS: @(#) $Id: tclUnixPort.h,v 1.17 2001/06/17 03:48:19 dgp Exp $
*/
#ifndef _TCLUNIXPORT
@@ -439,6 +439,12 @@ extern char **environ;
extern double strtod();
/*
+ * There is no platform-specific panic routine for Unix in the Tcl internals.
+ */
+
+#define TclpPanic ((Tcl_PanicProc *) NULL)
+
+/*
*---------------------------------------------------------------------------
* The following macros and declarations represent the interface between
* generic and unix-specific parts of Tcl. Some of the macros may override