diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-04 01:10:53 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-07-04 01:10:53 +0000 |
commit | 4bc287e59621c32bb671d390526e5f495896ccae (patch) | |
tree | 84906bd44f6ff24fa1a88dccfe6d1f0db45b8ac1 /libdha/sysdep/AsmMacros_powerpc.h | |
parent | 4bddfad99394c1411441a662c3ed1cbebd7334be (diff) | |
download | mpv-4bc287e59621c32bb671d390526e5f495896ccae.tar.bz2 mpv-4bc287e59621c32bb671d390526e5f495896ccae.tar.xz |
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
Diffstat (limited to 'libdha/sysdep/AsmMacros_powerpc.h')
-rw-r--r-- | libdha/sysdep/AsmMacros_powerpc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdha/sysdep/AsmMacros_powerpc.h b/libdha/sysdep/AsmMacros_powerpc.h index b17daddbdf..548a7c9414 100644 --- a/libdha/sysdep/AsmMacros_powerpc.h +++ b/libdha/sysdep/AsmMacros_powerpc.h @@ -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) |