mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 19:37:30 +01:00
Merge iopl()-related #ifdefs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31056 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b1767fc45e
commit
02afa9baf4
@ -30,16 +30,14 @@
|
|||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
//#include <sys/perm.h> doesn't exist on libc5 systems
|
//#include <sys/perm.h> doesn't exist on libc5 systems
|
||||||
int iopl();
|
int iopl();
|
||||||
|
#elif defined(__sh__)
|
||||||
|
#define iopl(x) 1
|
||||||
#else
|
#else
|
||||||
#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) && !defined(__sh__)
|
#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__)
|
||||||
#include <sys/io.h>
|
#include <sys/io.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __sh__
|
|
||||||
#define iopl(x) 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#ifdef CONFIG_DHAHELPER
|
#ifdef CONFIG_DHAHELPER
|
||||||
|
Loading…
Reference in New Issue
Block a user