diff libdha/sysdep/pci_linux.c @ 12687:cb35163ef0a1

x86-64 (amd64) support by Kenny Root
author alex
date Sat, 26 Jun 2004 12:40:56 +0000
parents 62705b2298ff
children c6dca3153ddb
line wrap: on
line diff
--- a/libdha/sysdep/pci_linux.c	Sat Jun 26 12:35:35 2004 +0000
+++ b/libdha/sysdep/pci_linux.c	Sat Jun 26 12:40:56 2004 +0000
@@ -7,7 +7,7 @@
 #ifdef __i386__
 // is this needed? #include <sys/perm.h>
 #else
-#if !defined(__sparc__) && !defined(__powerpc__)
+#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__)
 #include <sys/io.h>
 #endif
 #endif
@@ -117,8 +117,8 @@
     return(0);
 }
 
-#if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__)) \
-    && defined(__linux__) && !defined(CONFIG_SVGAHELPER)
+#if (defined(__powerpc__) || defined(__sparc__) || defined(__sparc64__) \
+    || defined(__x86_64__)) && defined(__linux__) && !defined(CONFIG_SVGAHELPER)
 #define CONFIG_PCI_LINUX_PROC
 #endif