mirror of
https://github.com/86Box/probing-tools.git
synced 2026-02-26 05:53:17 -07:00
clib: Fix libpci detection define
This commit is contained in:
@@ -146,7 +146,7 @@ pci_init_dev(uint8_t bus, uint8_t dev, uint8_t func)
|
||||
if (!pacc->devices) {
|
||||
libpci_scan_bus(pacc);
|
||||
|
||||
#if defined(_WIN32) && PCI_LIB_VERSION > 0x030800
|
||||
#if defined(_WIN32) && (PCI_LIB_VERSION >= 0x030800)
|
||||
/* Generate additional configuration values not generated by
|
||||
libpci's emulated configuration space code on Windows. */
|
||||
if ((pacc->method == PCI_ACCESS_WIN32_CFGMGR32) && !pacc->backend_data) { /* backend_data is NULL if no usable raw access method was found */
|
||||
|
||||
Reference in New Issue
Block a user