Also Storable really wants the PATCHLEVEL, not PERL_VERSION.
Jarkko Hietaniemi [Sat, 15 Feb 2003 12:31:25 +0000 (12:31 +0000)]
p4raw-id: //depot/perl@18714

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>