From 736312a51b0efbaf7f69c6b7b7c17a16bc6ab373 Mon Sep 17 00:00:00 2001 From: Kevin B Kenny Date: Fri, 30 Apr 2004 17:45:18 +0000 Subject: * 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] --- ChangeLog | 6 ++++++ generic/tclThreadAlloc.c | 6 ++++-- 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 + + * 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 * 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 *); -- cgit v0.12