ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/constants.pl.PL
(Generate patch)

Comparing AnyEvent/constants.pl.PL (file contents):
Revision 1.4 by root, Sat Mar 13 00:09:28 2010 UTC vs.
Revision 1.5 by root, Thu Apr 15 04:21:15 2010 UTC

40} 40}
41 41
42my $af_inet6; 42my $af_inet6;
43 43
44$af_inet6 ||= eval { require Socket ; Socket::AF_INET6 () }; 44$af_inet6 ||= eval { require Socket ; Socket::AF_INET6 () };
45$af_ine6t ||= eval { require Socket6; Socket6::AF_INET6() }; 45$af_inet6 ||= eval { require Socket6; Socket6::AF_INET6() };
46 46
47# uhoh 47# uhoh
48$af_inet6 ||= 10 if $^O =~ /linux/; 48$af_inet6 ||= 10 if $^O =~ /linux/;
49$af_inet6 ||= 23 if $^O =~ /cygwin/i; 49$af_inet6 ||= 23 if $^O =~ /cygwin/i;
50$af_inet6 ||= 23 if AnyEvent::WIN32; 50$af_inet6 ||= 23 if AnyEvent::WIN32;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines