Skip to content
Tcl Source Code Attachment Details
Login

Attachment Details

Overview

Artifact ID: af2356cbde3a1f82d6f3b537334649732f69d939
Ticket: 561301ffffffffffffffffffffffffffffffffff
Date: 2002-05-28 07:27:06
User: davygrvy
Artifact Attached: ce0f2df8f4a5c724457d5ae053e1ceda58c67e5e
Filename:patch.txt
Description:the fix.
Content:
Index: tclWinSock.c
===================================================================
RCS file: /cvsroot/tcl/tcl/win/tclWinSock.c,v
retrieving revision 1.26
diff -c -r1.26 tclWinSock.c
*** tclWinSock.c	24 May 2002 18:57:09 -0000	1.26
--- tclWinSock.c	28 May 2002 00:15:17 -0000
***************
*** 14,19 ****
--- 14,28 ----
  #include "tclWinInt.h"
  
  /*
+  * Make sure to remove the redirection defines set in tclWinPort.h
+  * that is in use in other sections of the core, except for us.
+  */
+ #undef getservbyname
+ #undef getsockopt
+ #undef ntohs
+ #undef setsockopt
+ 
+ /*
   * The following variable is used to tell whether this module has been
   * initialized.
   */