diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-16 04:09:47 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-02-16 04:09:47 +0000 |
commit | cceca5ed003bac658cb0392a14bb2f26d434bd78 (patch) | |
tree | 286c2340276a7cbefe1899f0f01767791bb31ea4 /patchlevel.h | |
parent | a9fb271febef206f32659f8abc5f9029ae2f7a25 (diff) | |
download | perl-cceca5ed003bac658cb0392a14bb2f26d434bd78.tar.gz |
propagate PERL_VERSION everywhere, add to pod
p4raw-id: //depot/perl@2957
Diffstat (limited to 'patchlevel.h')
-rw-r--r-- | patchlevel.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/patchlevel.h b/patchlevel.h index b561f11ed5..2cfdec6b25 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -7,11 +7,6 @@ #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. If you're distributing such a patch, please give it a name and a @@ -58,3 +53,11 @@ static char *local_patches[] = { # define __PATCHLEVEL_H_INCLUDED__ #endif + +/* the old terms of reference, add them only when explicitly included */ +#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(PATCHLEVEL) +#define PATCHLEVEL PERL_VERSION +#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */ +#define SUBVERSION PERL_SUBVERSION +#endif + |