Is there a way to check at compile time for the rpmlib version?

In this particular case I want to use the enum value `RPMTRANS_FLAG_NODB` of 
`enum rpmtransFlags_e` in `include/rpm/rpmts.h`, but stay compatible with older 
versions that do not have this implemented. Since it's an enum, I cannot use 
`#ifdef`. So alternatively I thought I can use a macro that lets me check the 
version of rpmlib.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2840
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to