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
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- 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> ------------------------------------------------------------------------------------
- foundin changed to: "obsolete: 8.4a2"
- priority changed to: "3 Low"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andreas_kupries"
- subsystem changed to: "15. Dict Object"
- title changed to: "Usage of winsock2.h in win/tclWinPort.h is wrong"
- type changed to: "Bug"