# HG changeset patch # User alex # Date 1088253656 0 # Node ID cb35163ef0a139ca7437f85da853ebe0c6a5d3bb # Parent cc5aa27a50fffde12ea228d2d5c0be56984c0acb x86-64 (amd64) support by Kenny Root diff -r cc5aa27a50ff -r cb35163ef0a1 libdha/pci.c --- a/libdha/pci.c Sat Jun 26 12:35:35 2004 +0000 +++ b/libdha/pci.c Sat Jun 26 12:40:56 2004 +0000 @@ -492,6 +492,8 @@ #include "sysdep/pci_arm32.c" #elif defined(__powerpc__) #include "sysdep/pci_powerpc.c" +#elif defined(__x86_64__) +/* Nothing here right now */ #else #include "sysdep/pci_x86.c" #endif diff -r cc5aa27a50ff -r cb35163ef0a1 libdha/sysdep/pci_linux.c --- 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 #else -#if !defined(__sparc__) && !defined(__powerpc__) +#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) #include #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 diff -r cc5aa27a50ff -r cb35163ef0a1 libmpcodecs/native/RTjpegN.h --- a/libmpcodecs/native/RTjpegN.h Sat Jun 26 12:35:35 2004 +0000 +++ b/libmpcodecs/native/RTjpegN.h Sat Jun 26 12:40:56 2004 +0000 @@ -22,7 +22,7 @@ */ -#ifndef _I386_TYPES_H +#if !defined(_I386_TYPES_H) && !defined(_X86_64_TYPES_H) typedef unsigned char __u8; typedef unsigned short __u16; typedef unsigned long __u32;