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.8 by root, Mon Nov 22 06:32:18 2010 UTC vs.
Revision 1.9 by root, Fri Nov 26 21:27:41 2010 UTC

30# used a lot 30# used a lot
31i CYGWIN => $^O =~ /cygwin/i; 31i CYGWIN => $^O =~ /cygwin/i;
32i WIN32 => $WIN32; 32i WIN32 => $WIN32;
33 33
34# add these purely to avoid loading Fcntl, which is slow and bloated. 34# add these purely to avoid loading Fcntl, which is slow and bloated.
35use Fcntl ();
36 35
37i F_SETFD => eval { Fcntl::F_SETFD() } || 2; 36i F_SETFD => eval { Fcntl::F_SETFD() } || 2;
38i F_SETFL => eval { Fcntl::F_SETFL() } || 4; 37i F_SETFL => eval { Fcntl::F_SETFL() } || 4;
39i O_NONBLOCK => eval { Fcntl::O_NONBLOCK() } || 04000; 38i O_NONBLOCK => eval { Fcntl::O_NONBLOCK() } || 04000;
40i FD_CLOEXEC => eval { Fcntl::FD_CLOEXEC() } || 1; 39i FD_CLOEXEC => eval { Fcntl::FD_CLOEXEC() } || 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines