diff options
| author | mdejong <mdejong> | 2003-01-14 02:06:10 (GMT) |
|---|---|---|
| committer | mdejong <mdejong> | 2003-01-14 02:06:10 (GMT) |
| commit | 0a23260d87054afda22406061703e91f5e78b26f (patch) | |
| tree | 023efb988c8483959418c28474b1c576859a43d1 /generic/tcl.h | |
| parent | 40485524c32c1d34e2aea53d5a3c2a06c7ab0d5f (diff) | |
| download | tcl-0a23260d87054afda22406061703e91f5e78b26f.zip tcl-0a23260d87054afda22406061703e91f5e78b26f.tar.gz tcl-0a23260d87054afda22406061703e91f5e78b26f.tar.bz2 | |
Fix mingw build problems and compiler warnings.
* generic/tcl.h: Add if defined(__MINGW32__)
check to code that sets the TCL_WIDE_INT_TYPE
and TCL_LL_MODIFIER.
* generic/tclClock.c (FormatClock): Don't
define savedTimeZone and savedTZEnv if
we are not going to use them.
* generic/tclEnv.c: Add cast to avoid warning.
* win/tclWinChan.c: Use DWORD instead of int
to avoid compiler warning.
* win/tclWinThrd.c: Only define allocLock,
allocLockPtr, and dataKey when TCL_THREADS
is defined. This avoid a compiler warning
about unused variables.
Diffstat (limited to 'generic/tcl.h')
| -rw-r--r-- | generic/tcl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index b89bb59..7a6fd2a 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tcl.h,v 1.149 2003/01/13 07:01:06 mdejong Exp $ + * RCS: @(#) $Id: tcl.h,v 1.150 2003/01/14 02:06:10 mdejong Exp $ */ #ifndef _TCL @@ -353,7 +353,7 @@ typedef long LONG; */ #if !defined(TCL_WIDE_INT_TYPE)&&!defined(TCL_WIDE_INT_IS_LONG) -# ifdef __CYGWIN__ +# if defined(__CYGWIN__) || defined(__MINGW32__) # define TCL_WIDE_INT_TYPE long long # define TCL_LL_MODIFIER "L" typedef struct stat Tcl_StatBuf; |
