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:
atmos4 2002-07-04 01:10:53 +00:00
parent 4bddfad993
commit 4bc287e596
1 changed files with 2 additions and 2 deletions

View File

@ -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)