From 86997fb34278445752c67829474437eeca915307 Mon Sep 17 00:00:00 2001 From: rjray Date: Thu, 11 Apr 2002 22:40:20 +0000 Subject: 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 --- Perl-RPM/RPM/Constants.xs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Perl-RPM') 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")) -- cgit v1.2.3