Try to make PPPort.pm 5.005-friendlier (see [perl #21339]).
[p5sagit/p5-mst-13.2.git] / ext / Storable / Storable.xs
index 4073f92..fe6ee11 100644 (file)
@@ -12,7 +12,7 @@
 #include <perl.h>
 #include <XSUB.h>
 
-#ifndef PERL_VERSION
+#ifndef PATCHLEVEL
 #    include <patchlevel.h>            /* Perl's one, needed since 5.6 */
 #    if !(defined(PERL_VERSION) || (SUBVERSION > 0 && defined(PATCHLEVEL)))
 #        include <could_not_find_Perl_patchlevel.h>