summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2004-07-25 21:38:08 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2004-07-25 21:38:08 (GMT)
commit5327bbab5cd5b9befa30513fd9450a40149b1356 (patch)
tree57eb3b5a807bc1d0c93037e80e127c251ac6e3ca
parentd4e5bf9652f40b5cc68d23f8136afc0b61066b84 (diff)
downloadtcl-5327bbab5cd5b9befa30513fd9450a40149b1356.zip
tcl-5327bbab5cd5b9befa30513fd9450a40149b1356.tar.gz
tcl-5327bbab5cd5b9befa30513fd9450a40149b1356.tar.bz2
* generic/tclThreadAlloc.c: Moved the tclInt.h include to provide
Tcl_Panic which is now required for non-threaded build.
-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) */
/*
*----------------------------------------------------------------------