Mercurial > mplayer.hg
comparison vidix/sysdep/pci_linux.c @ 31014:a6268840b870
Merge iopl()-related #ifdefs.
author | diego |
---|---|
date | Thu, 22 Apr 2010 13:53:13 +0000 |
parents | e117bd87b33c |
children | 765facb4279f |
comparison
equal
deleted
inserted
replaced
31013:e117bd87b33c | 31014:a6268840b870 |
---|---|
28 | 28 |
29 #include <errno.h> | 29 #include <errno.h> |
30 #ifdef __i386__ | 30 #ifdef __i386__ |
31 //#include <sys/perm.h> doesn't exist on libc5 systems | 31 //#include <sys/perm.h> doesn't exist on libc5 systems |
32 int iopl(); | 32 int iopl(); |
33 #elif defined(__sh__) | |
34 #define iopl(x) 1 | |
33 #else | 35 #else |
34 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) && !defined(__sh__) | 36 #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) |
35 #include <sys/io.h> | 37 #include <sys/io.h> |
36 #endif | 38 #endif |
37 #endif | |
38 | |
39 #ifdef __sh__ | |
40 #define iopl(x) 1 | |
41 #endif | 39 #endif |
42 | 40 |
43 #include "config.h" | 41 #include "config.h" |
44 | 42 |
45 #ifdef CONFIG_DHAHELPER | 43 #ifdef CONFIG_DHAHELPER |