Change 18826 by [EMAIL PROTECTED] on 2003/03/04 20:22:25

        Try to make PPPort.pm 5.005-friendlier (see [perl #21339]).
        The variant is from how List::Util Util.xs does it.

Affected files ...

... //depot/perl/ext/Devel/PPPort/PPPort.pm#15 edit

Differences ...

==== //depot/perl/ext/Devel/PPPort/PPPort.pm#15 (text) ====
Index: perl/ext/Devel/PPPort/PPPort.pm
--- perl/ext/Devel/PPPort/PPPort.pm#14~18541~   Tue Jan 21 14:08:51 2003
+++ perl/ext/Devel/PPPort/PPPort.pm     Tue Mar  4 12:22:25 2003
@@ -357,7 +357,7 @@
 #   ifndef __PATCHLEVEL_H_INCLUDED__
 #       include <patchlevel.h>
 #   endif
-#   ifndef PERL_VERSION
+#   if !(defined(PERL_VERSION) || (SUBVERSION > 0 && defined(PATCHLEVEL)))
 #       include <could_not_find_Perl_patchlevel.h>
 #   endif
 #   ifndef PERL_REVISION
End of Patch.

Reply via email to