mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 23:02:37 +00:00
x86-64 (amd64) support by Kenny Root
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12688 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a8aec55f16
commit
7cad1e9951
@ -492,6 +492,8 @@ static int pcibus=-1, pcicard=-1, pcifunc=-1 ;
|
||||
#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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user