From 567a0db49483b26c4ce345062f3d0e60ee0b2f7d Mon Sep 17 00:00:00 2001 From: davygrvy Date: Wed, 10 Oct 2001 22:36:26 +0000 Subject: * win/tclWinPort.h: #include needed to get moved to after #include or wierd misunderstandings took place when -D_WIN32_WINNT=0x0400 is set for outside code that requires knowledge of Tcl innards. General header macro magic applied liberally... --- win/tclWinPort.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 9e2097d..7828010 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.22 2001/09/20 18:33:55 hobbs Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.23 2001/10/10 22:36:26 davygrvy Exp $ */ #ifndef _TCLWINPORT @@ -64,11 +64,12 @@ #endif #include -#include #define WIN32_LEAN_AND_MEAN #include #undef WIN32_LEAN_AND_MEAN +#define WIN32 /* BUGFIX: winsock2.h seems to need this */ +#include #ifdef BUILD_tcl # undef TCL_STORAGE_CLASS -- cgit v0.12