util/vgabios: build/warning fixes.
Signed-off-by: Luc Verhaegen <libv@skynet.be> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4312 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -2,11 +2,16 @@
|
||||
#include <pci/pci.h>
|
||||
#include "pci.h"
|
||||
|
||||
#ifdef PCI_LIB_VERSION
|
||||
#define LIBPCI_CHECK_VERSION(major,minor,micro) \
|
||||
((((major) << 16) | ((minor) << 8) | (micro)) <= PCI_LIB_VERSION)
|
||||
#else
|
||||
#define LIBPCI_CHECK_VERSION(major,minor,micro) \
|
||||
( (LIBPCI_MAJOR_VERSION > (major)) || \
|
||||
(LIBPCI_MAJOR_VERSION == (major) && LIBPCI_MINOR_VERSION > (minor)) || \
|
||||
(LIBPCI_MAJOR_VERSION == (major) && LIBPCI_MINOR_VERSION == (minor)) && \
|
||||
LIBPCI_MICRO_VERSION >= (micro) )
|
||||
#endif
|
||||
|
||||
#define PCITAG struct pci_filter *
|
||||
|
||||
|
Reference in New Issue
Block a user