summaryrefslogtreecommitdiffstats
path: root/libdha/sysdep
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-26 12:40:56 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-26 12:40:56 +0000
commit7cad1e99513584d3690c847ed451d443ae4ec1cf (patch)
tree9e88e56ebe217712372a179367734a556d19c594 /libdha/sysdep
parenta8aec55f160dd129505c39c5970fe43959b2408a (diff)
downloadmpv-7cad1e99513584d3690c847ed451d443ae4ec1cf.tar.bz2
mpv-7cad1e99513584d3690c847ed451d443ae4ec1cf.tar.xz
x86-64 (amd64) support by Kenny Root
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12688 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/sysdep')
-rw-r--r--libdha/sysdep/pci_linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdha/sysdep/pci_linux.c b/libdha/sysdep/pci_linux.c
index 7d27fc073f..3dbc592c0d 100644
--- a/libdha/sysdep/pci_linux.c
+++ b/libdha/sysdep/pci_linux.c
@@ -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 @@ static __inline__ int disable_os_io(void)
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