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.3 by root, Sat Mar 13 00:08:08 2010 UTC vs.
Revision 1.4 by root, Sat Mar 13 00:09:28 2010 UTC

1#! perl 1#! perl
2
3# this file is unfortunately only executed at Makefile.PL time
2 4
3open my $fh, ">lib/AnyEvent/constants.pl" 5open my $fh, ">lib/AnyEvent/constants.pl"
4 or die "lib/AnyEvent/constants.pl: $_[0]\n"; 6 or die "lib/AnyEvent/constants.pl: $_[0]\n";
5 7
6my $oldstdout = select $fh; 8my $oldstdout = select $fh;
10} 12}
11 13
12print "package AnyEvent;\n"; 14print "package AnyEvent;\n";
13 15
14our $WIN32 = $^O =~ /mswin32/i; 16our $WIN32 = $^O =~ /mswin32/i;
15
16 17
17i CYGWIN => $^O =~ /cygwin/i; 18i CYGWIN => $^O =~ /cygwin/i;
18i WIN32 => $WIN32; 19i WIN32 => $WIN32;
19 20
20use Fcntl (); 21use Fcntl ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines