summaryrefslogtreecommitdiff
path: root/vutil.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-07-15 15:11:47 -0600
committerKarl Williamson <khw@cpan.org>2020-07-17 14:05:28 -0600
commit9b6e95106e18e4fd33678d0df9b2293fd4f8ab9c (patch)
tree60582c87ce7ec752500b823f164dcba9d67ba171 /vutil.h
parent1da21e25b97e2ce86e1f2189ed99a79c3aebdeac (diff)
downloadperl-9b6e95106e18e4fd33678d0df9b2293fd4f8ab9c.tar.gz
Add PERL_VERSION_GE macro, and kin
This moves things from vutil.h, and into handy.h; this is required for v7
Diffstat (limited to 'vutil.h')
-rw-r--r--vutil.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/vutil.h b/vutil.h
index ffeb05cae3..ecd627eaca 100644
--- a/vutil.h
+++ b/vutil.h
@@ -75,14 +75,6 @@ Perl_ck_warner(pTHX_ U32 err, const char* pat, ...)
# endif
#endif
-#define PERL_VERSION_DECIMAL(r,v,s) (r*1000000 + v*1000 + s)
-#define PERL_DECIMAL_VERSION \
- PERL_VERSION_DECIMAL(PERL_REVISION,PERL_VERSION,PERL_SUBVERSION)
-#define PERL_VERSION_LT(r,v,s) \
- (PERL_DECIMAL_VERSION < PERL_VERSION_DECIMAL(r,v,s))
-#define PERL_VERSION_GE(r,v,s) \
- (PERL_DECIMAL_VERSION >= PERL_VERSION_DECIMAL(r,v,s))
-
#if PERL_VERSION_LT(5,15,4)
# define ISA_VERSION_OBJ(v) (sv_isobject(v) && sv_derived_from(v,"version"))
#else