diff options
author | nijtmans <nijtmans> | 2010-01-22 13:02:50 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-01-22 13:02:50 (GMT) |
commit | 054ab462a502b5dd37f904ad14e46190554dd8ba (patch) | |
tree | 55e1b5a3324a9e4ba5914c4e528a6d7c4f81933d /win/tclWinError.c | |
parent | cc52b4d3c7d8a2d088216976f32ca253b404c75d (diff) | |
download | tcl-054ab462a502b5dd37f904ad14e46190554dd8ba.zip tcl-054ab462a502b5dd37f904ad14e46190554dd8ba.tar.gz tcl-054ab462a502b5dd37f904ad14e46190554dd8ba.tar.bz2 |
Revert [2009-12-21] change in tcl.h, in stead
resolve the CYGWIN inclusion problems by
re-arranging the inclusions at other places.
Make cygwin configuration error into
a warning: CYGWIN compilation works
although there still are test failures.
Diffstat (limited to 'win/tclWinError.c')
-rw-r--r-- | win/tclWinError.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c index 05661a2..c71f535 100644 --- a/win/tclWinError.c +++ b/win/tclWinError.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinError.c,v 1.7 2005/11/04 00:06:50 dkf Exp $ + * RCS: @(#) $Id: tclWinError.c,v 1.8 2010/01/22 13:02:50 nijtmans Exp $ */ #include "tclInt.h" @@ -354,7 +354,7 @@ static int wsaErrorTable[] = { void TclWinConvertError( - DWORD errCode) /* Win32 error code. */ + unsigned long errCode) /* Win32 error code. */ { if (errCode >= tableLen) { Tcl_SetErrno(EINVAL); @@ -381,7 +381,7 @@ TclWinConvertError( void TclWinConvertWSAError( - DWORD errCode) /* Win32 error code. */ + unsigned long errCode) /* Win32 error code. */ { if ((errCode >= WSAEWOULDBLOCK) && (errCode <= WSAEREMOTE)) { Tcl_SetErrno(wsaErrorTable[errCode - WSAEWOULDBLOCK]); |