Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b27a4feaa39f7fc6688fd16be3cc0f001e38c0e6
Ticket: 222568ffffffffffffffffffffffffffffffffff
Usage of winsock2.h in win/tclWinPort.h is wrong
User & Date: andreas_kupries on 2000-11-16 07:43:01
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Usage of winsock2.h in win/tclWinPort.h is wrong. This is no problem for Tcl itself, but extensions trying to compile on Windows may get errors (redefinition of FD_SET, etc.) which prevent a succesful build. From the history it seems that winsock.h (v1) was used in the beginning and is right now, with an intermediate time where winsock v2 was tried out. It seems that the switch back from v2 to v1 was not complete.
    
    Patch.
    ------------------------------------------------------------------------------------
    *** tclWinPort.h.origThu Nov 16 00:22:02 2000
    --- tclWinPort.hThu Nov 16 00:22:02 2000
    ***************
    *** 66,72 ****
      
      #include <tchar.h>
      #include <time.h>
    ! #include <winsock2.h>
      
      #define WIN32_LEAN_AND_MEAN
      #include <windows.h>
    --- 66,72 ----
      
      #include <tchar.h>
      #include <time.h>
    ! #include <winsock.h>
      
      #define WIN32_LEAN_AND_MEAN
      #include <windows.h>
    ------------------------------------------------------------------------------------
    
    
  4. foundin changed to: "obsolete: 8.4a2"
  5. priority changed to: "3 Low"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "andreas_kupries"
  9. subsystem changed to: "15. Dict Object"
  10. title changed to: "Usage of winsock2.h in win/tclWinPort.h is wrong"
  11. type changed to: "Bug"