This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: [PATCH av.c, op.c, perldiag.pod] "array field" -> "pseudo-hash field"
[perl5.git] / patchlevel.h
1 #ifndef __PATCHLEVEL_H_INCLUDED__
2
3 /* do not adjust the whitespace! Configure expects the numbers to be
4  * exactly on the third column */
5
6 #define PERL_REVISION   5               /* age */
7 #define PERL_VERSION    5               /* epoch */
8 #define PERL_SUBVERSION 61              /* generation */
9
10 /* Compatibility across versions:  MakeMaker will install add-on
11    modules in a directory with the PERL_APIVERSION version number.  
12    Normally this should not change across maintenance releases.
13    perl.c:incpush() and lib/lib.pm will automatically search older 
14    directories across major versions back to to PERL_XS_APIVERSION
15    for XS modules and back to PERL_PM_APIVERSION for pure PERL modules.
16    (Since the versioned directory layout didn't start until 5.005,
17    that's the earliest these can go back.
18
19    See INSTALL for how this works.
20 */
21 #define PERL_APIVERSION 5.00561         /* Adjust manually as needed.  */
22
23 #define __PATCHLEVEL_H_INCLUDED__
24 #endif
25
26 /*
27         local_patches -- list of locally applied less-than-subversion patches.
28         If you're distributing such a patch, please give it a name and a
29         one-line description, placed just before the last NULL in the array
30         below.  If your patch fixes a bug in the perlbug database, please
31         mention the bugid.  If your patch *IS* dependent on a prior patch,
32         please place your applied patch line after its dependencies. This
33         will help tracking of patch dependencies.
34
35         Please edit the hunk of diff which adds your patch to this list,
36         to remove context lines which would give patch problems.  For instance,
37         if the original context diff is
38            *** patchlevel.h.orig        <date here>
39            --- patchlevel.h     <date here>
40            *** 38,43 ***
41            --- 38,44 ---
42                 ,"FOO1235 - some patch"
43                 ,"BAR3141 - another patch"
44                 ,"BAZ2718 - and another patch"
45            +    ,"MINE001 - my new patch"
46                 ,NULL
47              };
48         
49         please change it to 
50            *** patchlevel.h.orig        <date here>
51            --- patchlevel.h     <date here>
52            *** 41,43 ***
53            --- 41,44 ---
54            +    ,"MINE001 - my new patch"
55              };
56         
57         (Note changes to line numbers as well as removal of context lines.)
58         This will prevent patch from choking if someone has previously
59         applied different patches than you.
60  */
61 #if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
62 static  char    *local_patches[] = {
63         NULL
64         ,NULL
65 };
66
67 /* Initial space prevents this variable from being inserted in config.sh  */
68 #  define       LOCAL_PATCH_COUNT       \
69         (sizeof(local_patches)/sizeof(local_patches[0])-2)
70
71 /* the old terms of reference, add them only when explicitly included */
72 #define PATCHLEVEL              PERL_VERSION
73 #undef  SUBVERSION              /* OS/390 has a SUBVERSION in a system header */
74 #define SUBVERSION              PERL_SUBVERSION
75 #endif