diff options
author | rjray <devnull@localhost> | 2002-04-11 22:40:20 +0000 |
---|---|---|
committer | rjray <devnull@localhost> | 2002-04-11 22:40:20 +0000 |
commit | 86997fb34278445752c67829474437eeca915307 (patch) | |
tree | 40b0d0f9546dc47f8f70ce826bc8da9166597c4d /Perl-RPM | |
parent | ef7f4a88db5e38d5a9832cd5d52e9d5ff126ce7d (diff) | |
download | rpm-86997fb34278445752c67829474437eeca915307.tar.gz rpm-86997fb34278445752c67829474437eeca915307.tar.bz2 rpm-86997fb34278445752c67829474437eeca915307.zip |
Removed all the #if/#endif blocks that were for distinguishing 3.0 and 4.0 rpm
lineage. rpm 3.0 is no longer going to be supported.
CVS patchset: 5393
CVS date: 2002/04/11 22:40:20
Diffstat (limited to 'Perl-RPM')
-rw-r--r-- | Perl-RPM/RPM/Constants.xs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Perl-RPM/RPM/Constants.xs b/Perl-RPM/RPM/Constants.xs index b0d53d3bd..2faedc1ef 100644 --- a/Perl-RPM/RPM/Constants.xs +++ b/Perl-RPM/RPM/Constants.xs @@ -4,7 +4,7 @@ #include "RPM.h" -static char * const rcsid = "$Id: Constants.xs,v 1.11 2001/05/15 07:49:56 rjray Exp $"; +static char * const rcsid = "$Id: Constants.xs,v 1.12 2002/04/11 22:40:20 rjray Exp $"; static int constant(pTHX_ char *name) { @@ -200,11 +200,7 @@ static int constant(pTHX_ char *name) break; case 'R': if (strEQ(name + 7, "READ") || strEQ(name + 7, "READERROR")) -# if (RPM_VERSION >= 0x040002) return RPMERR_READ; -# else - return RPMERR_READERROR; -# endif if (strEQ(name + 7, "RENAME")) return RPMERR_RENAME; if (strEQ(name + 7, "RMDIR")) |