Mercurial > mplayer.hg
diff libdha/sysdep/pci_linux.c @ 7837:6d544beb655e
libdha on linux powerpc support by Colin Leroy <colin@colino.net>
author | alex |
---|---|
date | Tue, 22 Oct 2002 12:22:40 +0000 |
parents | 5cf616a755ac |
children | d09c74452323 |
line wrap: on
line diff
--- a/libdha/sysdep/pci_linux.c Tue Oct 22 11:52:21 2002 +0000 +++ b/libdha/sysdep/pci_linux.c Tue Oct 22 12:22:40 2002 +0000 @@ -32,8 +32,12 @@ dhahelper_initialized = -1; #endif +#if defined(__powerpc__) && defined(__linux__) +/* should be fixed? */ +#else if (iopl(3) != 0) return(errno); +#endif return(0); } @@ -44,7 +48,11 @@ close(dhahelper_fd); else #endif +#if defined(__powerpc__) && defined(__linux__) +/* should be fixed? */ +#else if (iopl(0) != 0) return(errno); +#endif return(0); }