Silence new warning grep in void context warning in various modules and test files...
[p5sagit/p5-mst-13.2.git] / ext / Cwd / Makefile.PL
index 02e5a3b..1e9a80d 100644 (file)
@@ -1,10 +1,7 @@
+# core-only Makefile.PL
 use ExtUtils::MakeMaker;
 WriteMakefile(
     NAME    => 'Cwd',
     VERSION_FROM => '../../lib/Cwd.pm',
-    (
-        (grep { $_ eq 'PERL_CORE=1' } @ARGV)
-            ? ()
-            : ('DEFINE' => '-DUSE_PPPORT_H')
-    ),
+    'DEFINE' => '-DNO_PPPORT_H',
 );