summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xgeneric/tclThreadAlloc.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 480e48a..5a93a0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-04-30 Kevin B. Kenny <kennykb@acm.org>
+
+ * generic/tclThreadAlloc.c: Added a temporary (or so I hope!)
+ inclusion of "tclWinInt.h" to avoid problems when compiling
+ on Win32-VC++ with --enable-threads. [Bug 945447]
+
2004-04-30 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* doc/puts.n: Added a few examples.
diff --git a/generic/tclThreadAlloc.c b/generic/tclThreadAlloc.c
index c8498dd..4f8905f 100755
--- a/generic/tclThreadAlloc.c
+++ b/generic/tclThreadAlloc.c
@@ -11,14 +11,16 @@
* 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.9 2004/04/06 22:25:55 dgp Exp $
+ * RCS: @(#) $Id: tclThreadAlloc.c,v 1.10 2004/04/30 17:45:31 kennykb Exp $
*/
#if defined(TCL_THREADS) && defined(USE_THREAD_ALLOC)
#include "tclInt.h"
-#ifndef WIN32
+#ifdef WIN32
+#include "tclWinInt.h"
+#else
extern Tcl_Mutex *TclpNewAllocMutex(void);
extern void *TclpGetAllocCache(void);
extern void TclpSetAllocCache(void *);