summaryrefslogtreecommitdiff
path: root/patchlevel.h
diff options
context:
space:
mode:
Diffstat (limited to 'patchlevel.h')
-rw-r--r--patchlevel.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/patchlevel.h b/patchlevel.h
index 0f4e051246..02a968910e 100644
--- a/patchlevel.h
+++ b/patchlevel.h
@@ -1,6 +1,14 @@
#ifndef __PATCHLEVEL_H_INCLUDED__
-#define PATCHLEVEL 5
-#define SUBVERSION 0
+
+/* do not adjust the whitespace! Configure expects the numbers to be
+ * exactly on the third column */
+
+#define PERL_REVISION 5 /* age */
+#define PERL_VERSION 5 /* epoch */
+#define PERL_SUBVERSION 61 /* generation */
+
+#define __PATCHLEVEL_H_INCLUDED__
+#endif
/*
local_patches -- list of locally applied less-than-subversion patches.
@@ -37,6 +45,7 @@
This will prevent patch from choking if someone has previously
applied different patches than you.
*/
+#if !defined(PERL_PATCHLEVEL_H_IMPLICIT) && !defined(LOCAL_PATCH_COUNT)
static char *local_patches[] = {
NULL
,NULL
@@ -46,5 +55,8 @@ static char *local_patches[] = {
# define LOCAL_PATCH_COUNT \
(sizeof(local_patches)/sizeof(local_patches[0])-2)
-# define __PATCHLEVEL_H_INCLUDED__
+/* the old terms of reference, add them only when explicitly included */
+#define PATCHLEVEL PERL_VERSION
+#undef SUBVERSION /* OS/390 has a SUBVERSION in a system header */
+#define SUBVERSION PERL_SUBVERSION
#endif