Skip to content

Commit 7a9d6dc

Browse files
committed
Use PERL_VERSION_GE/PERL_VERSION_LT
1 parent 996359c commit 7a9d6dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vutil/vxs.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ VXS(universal_version)
139139
HEKfARG(name), HEKfARG(name));
140140
}
141141
else {
142-
#if PERL_VERSION >= 8
142+
#if PERL_VERSION_GE(5,8,0)
143143
Perl_croak(aTHX_
144144
"%" SVf " defines neither package nor VERSION--"
145145
"version check failed",

vutil/vxs.xs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ VERSIONCHECK: DISABLE
4343

4444
BOOT:
4545
{
46-
#if (PERL_REVISION == 5 && PERL_VERSION < 9)
46+
#if PERL_VERSION_LT(5,9,0)
4747
char* file = __FILE__;
4848
#else
4949
const char* file = __FILE__;

0 commit comments

Comments
 (0)