mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
oops forgot to commit, part of Björn Sandells libdha obsd ppc fixes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6636 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4bddfad993
commit
4bc287e596
@ -7,7 +7,7 @@
|
||||
#ifndef __ASM_MACROS_POWERPC_H
|
||||
#define __ASM_MACROS_POWERPC_H
|
||||
|
||||
#if defined(Lynx)
|
||||
#if defined(Lynx) || defined(__OpenBSD__)
|
||||
|
||||
extern unsigned char *ioBase;
|
||||
|
||||
@ -18,7 +18,7 @@ static __inline__ volatile void eieio()
|
||||
|
||||
static __inline__ void outb(short port, unsigned char value)
|
||||
{
|
||||
*(uchar *)(ioBase + port) = value; eieio();
|
||||
*(unsigned char *)(ioBase + port) = value; eieio();
|
||||
}
|
||||
|
||||
static __inline__ void outw(short port, unsigned short value)
|
||||
|
Loading…
Reference in New Issue
Block a user