Fix the ext/IO/t/io_sock.t failure when built with VC++ 2005
authorSteve Hay <SteveHay@planit.com>
Fri, 25 May 2007 09:18:45 +0000 (09:18 +0000)
committerSteve Hay <SteveHay@planit.com>
Fri, 25 May 2007 09:18:45 +0000 (09:18 +0000)
commitd67249f4ee2e74bfb7d85025c937607c103c9c81
treeb8c9467f4062b7019becbddad5b1eb54daf564fa
parent61f9802b72e0698621aaf73d88595b3d5d85df0a
Fix the ext/IO/t/io_sock.t failure when built with VC++ 2005

Unknown to me win32/win32.h was defining USE_FIXED_OSFHANDLE, which
arranged for a black magic fix to MSVCRT.DLL's _open_osfhandle() to
be used. It seems that this is inappropriate for VC++ versions later
than 6.x, since they don't use that DLL: simply not defining that
symbol makes the io_sock.t failure go away.

(Compare change #29233, which similarly disabled the fix to
MSVCRT.DLL's read() for VC++ versions later than 6.x.)
p4raw-link: @29233 on //depot/perl: 46e77f111828d72136c91f0837803182535da01d

p4raw-id: //depot/perl@31271
README.win32
win32/win32.h