Jerry D. Hedden [Tue, 20 Mar 2007 13:16:46 +0000 (06:16 -0700)]
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <196803.14702.qm@web30215.mail.mud.yahoo.com>
p4raw-id: //depot/perl@30718
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
-#define NEED_sv_2pv_nolen
-#include "ppport.h"
+#ifdef USE_PPPORT_H
+# define NEED_sv_2pv_nolen
+# include "ppport.h"
+#endif
#ifdef I_UNISTD
# include <unistd.h>
WriteMakefile(
NAME => 'Cwd',
VERSION_FROM => '../../lib/Cwd.pm',
+ (
+ (grep { $_ eq 'PERL_CORE=1' } @ARGV)
+ ? ()
+ : ('DEFINE' => '-DUSE_PPPORT_H')
+ ),
);
use Exporter;
use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
-$VERSION = '3.24';
+$VERSION = '3.24_01';
@ISA = qw/ Exporter /;
@EXPORT = qw(cwd getcwd fastcwd fastgetcwd);
# This file is read by mkppport at build time.
#
-ext/Cwd
ext/Time/HiRes
ext/Win32API/File