randyk 2004/06/18 16:51:14
Modified: lib/ModPerl CScan.pm
Log:
oops - move definition of WIN32 constant to package where it's used.
Revision Changes Path
1.5 +1 -1 modperl-2.0/lib/ModPerl/CScan.pm
Index: CScan.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/CScan.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CScan.pm 18 Jun 2004 23:48:35 -0000 1.4
+++ CScan.pm 18 Jun 2004 23:51:14 -0000 1.5
@@ -3,7 +3,6 @@
require Exporter;
use Config '%Config';
use File::Basename;
-use constant WIN32 => $^O eq 'MSWin32';
# NOTE to distributors: this module is needed only for mp2 developers,
# it's not a requirement for mod_perl users
@@ -917,6 +916,7 @@
use Symbol;
use File::Basename;
use Config;
+use constant WIN32 => $^O eq 'MSWin32';
sub new {
die "usage: C::Preprocessed->new(filename[, defines[, includes[, cpp]]])"