1
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 01:36:25 +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:
diego 2010-04-22 13:53:13 +00:00
parent b1767fc45e
commit 02afa9baf4

View File

@ -30,16 +30,14 @@
#ifdef __i386__
//#include <sys/perm.h> doesn't exist on libc5 systems
int iopl();
#elif defined(__sh__)
#define iopl(x) 1
#else
#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) && !defined(__sh__)
#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__)
#include <sys/io.h>
#endif
#endif
#ifdef __sh__
#define iopl(x) 1
#endif
#include "config.h"
#ifdef CONFIG_DHAHELPER