fix to compile with rpm-4.7
authorMichael Andres <ma@suse.de>
Thu, 2 Jul 2009 08:42:45 +0000 (10:42 +0200)
committerMichael Andres <ma@suse.de>
Thu, 2 Jul 2009 08:42:45 +0000 (10:42 +0200)
zypp/target/rpm/librpmDb.cv3.cc

index 630bf11b2f76308934f73db923fff515c1035019..bf18e45e74c2237326e1f9954e51817b5038cd26 100644 (file)
@@ -20,10 +20,12 @@ typedef int32_t rpm_count_t;
 #endif
 #endif
 
-#ifdef _RPM_5
+#if defined( _RPM_5 )
 #define HGEPtr_t void *
 #define headerGetEntryMinMemory headerGetEntry
 #define headerNVR(h,n,v,r) headerNEVRA(h,n,NULL,v,r,NULL)
+#elif defined( _RPM_4_4_COMPAT )
+#define HGEPtr_t void *
 #else
 #define HGEPtr_t const void *
 #endif