summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xgeneric/tclThreadAlloc.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8fdadfd..27612ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-07-25 Pat Thoyts <patthoyts@users.sourceforge.net>
+
+ * generic/tclThreadAlloc.c: Moved the tclInt.h include to provide
+ Tcl_Panic which is now required for non-threaded build.
+
2004-07-22 Don Porter <dgp@users.sourceforge.net>
* tests/eofchar.data (removed): Test io-61.1 now generates its own
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c
index 1bd51e6..d14ed87 100755
--- a/generic/tclThreadAlloc.c
+++ b/generic/tclThreadAlloc.c
@@ -11,13 +11,13 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclThreadAlloc.c,v 1.4.2.3 2004/07/21 01:30:57 hobbs Exp $
+ * RCS: @(#) $Id: tclThreadAlloc.c,v 1.4.2.4 2004/07/25 21:38:09 patthoyts Exp $
*/
-#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
-
#include "tclInt.h"
+#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
+
#ifdef WIN32
#include "tclWinInt.h"
#else
@@ -982,7 +982,7 @@ TclFinalizeThreadAlloc()
listLockPtr = NULL;
}
-#else
+#else /* ! defined(TCL_THREADS) && ! defined(USE_THREAD_ALLOC) */
/*
*----------------------------------------------------------------------