summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-16 23:55:58 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-16 23:55:58 +0000
commitd94216564938cd42af43fa553fe0ab9651fe48c9 (patch)
treeb50949fca0667b446f041a6d39aee6b08b2d512a /perl.h
parenta89d24b9fe54d44395806c16ac1c19f3c678cbbb (diff)
downloadperl-d94216564938cd42af43fa553fe0ab9651fe48c9.tar.gz
Move PERL_VERSION_STRING from patchlevel.h to perl.h
(and revert a89d24b9fe54d44395806c16ac1c19f3c678cbbb) It's getting too complex to work around some versions of awk which don't want to implement the regular expressions that they are documented to implement.
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index d556b49219..c890e1f670 100644
--- a/perl.h
+++ b/perl.h
@@ -4729,6 +4729,10 @@ typedef struct exitlistentry {
#include "patchlevel.h"
#undef PERL_PATCHLEVEL_H_IMPLICIT
+#define PERL_VERSION_STRING STRINGIFY(PERL_REVISION) "." \
+ STRINGIFY(PERL_VERSION) "." \
+ STRINGIFY(PERL_SUBVERSION)
+
#ifdef PERL_GLOBAL_STRUCT
struct perl_vars {
# include "perlvars.h"