Tcl UDP

Check-in [079a4b5a49]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for Windows platform builds
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 079a4b5a4921b0943aa5a56e13855a8cab0b2f70
User & Date: hypnotoad 2014-04-26 15:37:12
Original User & Date: seandeelywoods 2014-04-26 15:37:12
Context
2014-04-30
13:53
Updated to the latest TEA. pkgMkIndex.tcl is now built by configure check-in: 95c34925cf user: hypnotoad tags: trunk
2014-04-26
15:37
Fix for Windows platform builds check-in: 079a4b5a49 user: hypnotoad tags: trunk
2014-04-25
20:48
Updated the package version to match the stated package version check-in: 163ebf00e6 user: seandeelywoods tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/udp_tcl.h.

23
24
25
26
27
28
29








30
31
32
33
34
35
36
#endif

#if defined(_WIN32) && !defined(WIN32)
#define WIN32
#endif

#ifdef WIN32








#  include <winsock2.h>
#  include <ws2tcpip.h>
#else
#  if HAVE_UNISTD_H
#    include <unistd.h>
#  endif
#  if HAVE_SYS_TIME_H






>
>
>
>
>
>
>
>







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#endif

#if defined(_WIN32) && !defined(WIN32)
#define WIN32
#endif

#ifdef WIN32
#  if !defined( _WIN32_WINNT ) || ( _WIN32_WINNT < 0x0501 )
#    undef  _WIN32_WINNT
#    define _WIN32_WINNT 0x0501
#  endif
#  if !defined( WINVER ) || ( WINVER < 0x0501 )
#    undef  WINVER
#    define WINVER 0x0501
#  endif
#  include <winsock2.h>
#  include <ws2tcpip.h>
#else
#  if HAVE_UNISTD_H
#    include <unistd.h>
#  endif
#  if HAVE_SYS_TIME_H