aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-01-17 10:28:59 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-01-17 10:28:59 +0000
commitf94a46824db57b95fa838e07fc732b59a31da5c6 (patch)
tree6e035956ab628716f4925648e01de277f57b2d92 /URPM.xs
parent320531a076b8317df01ad6e93fc8f93ae334a0b5 (diff)
downloadperl-URPM-f94a46824db57b95fa838e07fc732b59a31da5c6.tar
perl-URPM-f94a46824db57b95fa838e07fc732b59a31da5c6.tar.gz
perl-URPM-f94a46824db57b95fa838e07fc732b59a31da5c6.tar.bz2
perl-URPM-f94a46824db57b95fa838e07fc732b59a31da5c6.tar.xz
perl-URPM-f94a46824db57b95fa838e07fc732b59a31da5c6.zip
RPM_CHAR_TYPE isn't used for rpm5, #ifndef it away
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 7093591..ca75a8e 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -586,7 +586,9 @@ return_list_tag(URPM__Package pkg, int_32 tag_name) {
switch (type) {
case RPM_NULL_TYPE:
break;
+#ifndef RPM_500
case RPM_CHAR_TYPE:
+#endif
case RPM_INT8_TYPE:
case RPM_INT16_TYPE:
case RPM_INT32_TYPE: