Add -DMULTIARCH (see change #3006).
[p5sagit/p5-mst-13.2.git] / patchlevel.h
index b561f11..2cfdec6 100644 (file)
@@ -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
+