[flashrom] [PATCH] Refine version check of libpci function pci_get_dev.

Stefan Tauner stefan.tauner at alumni.tuwien.ac.at
Sun Mar 1 01:41:02 CET 2015


On Mon, 26 Jan 2015 02:20:18 +0100
Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at> wrote:

> The way more elegant check for the header fails unfortunately on CentOS 4.9
> because PCI_LIB_VERSION is not defined at all although the domain parameter
> is present. This patch jumps through the hoops via an additional check in the
> Makefile to determine if the function accepts 5 parameters (new version) or
> not (old version).
> 
> Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>

Self-acked and committed in r1880.

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list