This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix Win32 build with plain VC6 compiler
authorSteve Hay <steve.m.hay@googlemail.com>
Sun, 20 Nov 2011 13:57:31 +0000 (13:57 +0000)
committerSteve Hay <steve.m.hay@googlemail.com>
Sun, 20 Nov 2011 13:57:31 +0000 (13:57 +0000)
commit517453e7e33edbb071e75fd9ed1f43c1ca0c53ea
tree6bbdf894939f5782fb7b274775764127a7b44ada
parent7744a198deecc4a8f23cff6099b39abb5bc6e035
Fix Win32 build with plain VC6 compiler

The Socket extension module currently doesn't compile on Win32 using the
VC6 compiler with its standard headers. It can be made to work by using
the 2003 Platform SDK, but it is preferable not to need to do that.

This patch is by Jan Dubois, taken from
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-11/msg00557.html

The patch is modified slightly to take account of MinGW already providing
the missing struct definition, but may yet need some further tweaks since
it was not quite finished by Jan yet.
win32/include/sys/socket.h