diff options
Diffstat (limited to 'patchlevel.h')
-rw-r--r-- | patchlevel.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/patchlevel.h b/patchlevel.h index d0fa32d768..e25b1308bf 100644 --- a/patchlevel.h +++ b/patchlevel.h @@ -7,18 +7,17 @@ #define PERL_VERSION 5 /* epoch */ #define PERL_SUBVERSION 640 /* generation */ -/* Compatibility across versions: MakeMaker will install add-on - modules in a directory with the PERL_APIVERSION version number. +/* The following numbers describe the earliest compatible version of + Perl ("compatibility" here being defined as sufficient binary/API + compatibility to run XS code built with the older version). Normally this should not change across maintenance releases. - perl.c:incpush() and lib/lib.pm will automatically search older - directories across major versions back to to PERL_XS_APIVERSION - for XS modules and back to PERL_PM_APIVERSION for pure PERL modules. - (Since the versioned directory layout didn't start until 5.005, - that's the earliest these can go back. - See INSTALL for how this works. + This is used by Configure et al to figure out which version libraries + are legal to include in @INC. See INSTALL for how this works. */ -#define PERL_APIVERSION 5.00564 /* Adjust manually as needed. */ +#define PERL_API_REVISION 5 /* Adjust manually as needed. */ +#define PERL_API_VERSION 5 /* Adjust manually as needed. */ +#define PERL_API_SUBVERSION 640 /* Adjust manually as needed. */ #define __PATCHLEVEL_H_INCLUDED__ #endif |