This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
No more special socket header handling for VMS.
authorCraig A. Berry <craigberry@mac.com>
Mon, 5 Sep 2011 13:25:24 +0000 (08:25 -0500)
committerCraig A. Berry <craigberry@mac.com>
Mon, 5 Sep 2011 13:25:24 +0000 (08:25 -0500)
This is necessary after 046cc26cf77f76bc63fd4d206fef560054f5d298,
which removed the special handling in vmsish.h.  Building with
threads masked the need for the current change because reentr.h
also does the equivalent.

perl.h

diff --git a/perl.h b/perl.h
index e7ab45f..c87fd79 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -1240,7 +1240,7 @@ EXTERN_C int usleep(unsigned int);
 #   define _SOCKADDR_LEN
 #endif
 
-#if defined(HAS_SOCKET) && !defined(VMS) && !defined(WIN32) /* VMS/WIN32 handle sockets via vmsish.h/win32.h */
+#if defined(HAS_SOCKET) && !defined(WIN32) /* WIN32 handles sockets via win32.h */
 # include <sys/socket.h>
 # if defined(USE_SOCKS) && defined(I_SOCKS)
 #   if !defined(INCLUDE_PROTOTYPES)