Upgrade to Devel::PPPort 3.07
[p5sagit/p5-mst-13.2.git] / ext / Devel / PPPort / parts / inc / version
1 ################################################################################
2 ##
3 ##  $Revision: 6 $
4 ##  $Author: mhx $
5 ##  $Date: 2006/01/14 18:08:02 +0100 $
6 ##
7 ################################################################################
8 ##
9 ##  Version 3.x, Copyright (C) 2004-2006, Marcus Holland-Moritz.
10 ##  Version 2.x, Copyright (C) 2001, Paul Marquess.
11 ##  Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
12 ##
13 ##  This program is free software; you can redistribute it and/or
14 ##  modify it under the same terms as Perl itself.
15 ##
16 ################################################################################
17
18 =provides
19
20 PERL_REVISION
21 PERL_VERSION
22 PERL_SUBVERSION
23 PERL_BCDVERSION
24
25 =dontwarn
26
27 PERL_PATCHLEVEL_H_IMPLICIT
28
29 =implementation
30
31 #ifndef PERL_REVISION
32 #  if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
33 #    define PERL_PATCHLEVEL_H_IMPLICIT
34 #    include <patchlevel.h>
35 #  endif
36 #  if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
37 #    include <could_not_find_Perl_patchlevel.h>
38 #  endif
39 #  ifndef PERL_REVISION
40 #    define PERL_REVISION       (5)
41      /* Replace: 1 */
42 #    define PERL_VERSION        PATCHLEVEL
43 #    define PERL_SUBVERSION     SUBVERSION
44      /* Replace PERL_PATCHLEVEL with PERL_VERSION */
45      /* Replace: 0 */
46 #  endif
47 #endif
48
49 #define PERL_BCDVERSION ((PERL_REVISION * 0x1000000L) + (PERL_VERSION * 0x1000L) + PERL_SUBVERSION)
50
51 /* It is very unlikely that anyone will try to use this with Perl 6
52    (or greater), but who knows.
53  */
54 #if PERL_REVISION != 5
55 #  error ppport.h only works with Perl version 5
56 #endif /* PERL_REVISION != 5 */