From 4d8076ea25903dcb0d44fd52eda7914327bc8758 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Mon, 15 Feb 1999 11:54:08 +0000 Subject: [PATCH] #include patchlevel.h by default, provide PERL_{REVISION,VERSION,SUBVERSION} p4raw-id: //depot/perl@2943 --- patchlevel.h | 12 +++++++++--- perl.h | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/patchlevel.h b/patchlevel.h index f01a059..f2c6b12 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -1,7 +1,13 @@ #ifndef __PATCHLEVEL_H_INCLUDED__ -#define PATCHLEVEL 5 -#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ -#define SUBVERSION 54 + +# define PERL_REVISION 5 /* age */ +# define PERL_VERSION 5 /* epoch */ +# define PERL_SUBVERSION 55 /* generation */ + +/* these are the old terms of reference */ +# define PATCHLEVEL PERL_VERSION +# undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ +# define SUBVERSION PERL_SUBVERSION /* local_patches -- list of locally applied less-than-subversion patches. diff --git a/perl.h b/perl.h index 0661558..eaa2194 100644 --- a/perl.h +++ b/perl.h @@ -2795,4 +2795,7 @@ typedef struct am_table_short AMTS; #endif /* IAMSUID */ +/* and finally... */ +#include "patchlevel.h" + #endif /* Include guard */ -- 2.7.4