#include patchlevel.h by default, provide
authorGurusamy Sarathy <gsar@cpan.org>
Mon, 15 Feb 1999 11:54:08 +0000 (11:54 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Mon, 15 Feb 1999 11:54:08 +0000 (11:54 +0000)
PERL_{REVISION,VERSION,SUBVERSION}

p4raw-id: //depot/perl@2943

patchlevel.h
perl.h

index f01a059..f2c6b12 100644 (file)
@@ -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 (file)
--- 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 */