summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/Storable/Storable.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs
index 4073f928c2..fe6ee11a45 100644
--- a/ext/Storable/Storable.xs
+++ b/ext/Storable/Storable.xs
@@ -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>