diff options
Diffstat (limited to 'platform/pci.h')
-rw-r--r-- | platform/pci.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/platform/pci.h b/platform/pci.h deleted file mode 100644 index 93bc163b..00000000 --- a/platform/pci.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This is a wrapper for libpci. - * ... - */ - - -#ifndef __PLATFORM_PCI_H__ -#define __PLATFORM_PCI_H__ - -/* - * An old libpci version seems to use the variable name "index" which triggers - * shadowing warnings on systems which have the index() function in a default - * #include or as builtin. - */ -#define index shadow_workaround_index - -#if defined (__NetBSD__) -#include <pci.h> -#else -#include <pci/pci.h> -#endif - -#undef index - -#endif /* __PLATFORM_PCI_H__ */
\ No newline at end of file |