[Mplayer-cvslog] CVS: main/libdha/sysdep AsmMacros_powerpc.h,1.1,1.2

Atmosfear atmos4 at mplayerhq.hu
Thu Jul 4 03:10:56 CEST 2002


Update of /cvsroot/mplayer/main/libdha/sysdep
In directory mail:/var/tmp.root/cvs-serv25527/libdha/sysdep

Modified Files:
	AsmMacros_powerpc.h 
Log Message:
oops forgot to commit, part of Björn Sandells libdha obsd ppc fixes.


Index: AsmMacros_powerpc.h
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/sysdep/AsmMacros_powerpc.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AsmMacros_powerpc.h	15 Jan 2002 08:31:53 -0000	1.1
+++ AsmMacros_powerpc.h	4 Jul 2002 01:10:53 -0000	1.2
@@ -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__ 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)




More information about the MPlayer-cvslog mailing list