[MPlayer-cvslog] r29989 - in trunk/vidix: AsmMacros.h sysdep/pci_linux.c

cehoyos subversion at mplayerhq.hu
Fri Dec 11 00:20:10 CET 2009


Author: cehoyos
Date: Fri Dec 11 00:20:09 2009
New Revision: 29989

Log:
Fix build on SuperH.

Patch by Magnus Damm, damm opensource se

Modified:
   trunk/vidix/AsmMacros.h
   trunk/vidix/sysdep/pci_linux.c

Modified: trunk/vidix/AsmMacros.h
==============================================================================
--- trunk/vidix/AsmMacros.h	Fri Dec 11 00:16:08 2009	(r29988)
+++ trunk/vidix/AsmMacros.h	Fri Dec 11 00:20:09 2009	(r29989)
@@ -77,8 +77,6 @@
 #include "sysdep/AsmMacros_arm32.h"
 #elif defined(__powerpc__)
 #include "sysdep/AsmMacros_powerpc.h"
-#elif defined(__sh__)
-#include <sys/io.h>
 #else
 #include "sysdep/AsmMacros_x86.h"
 #endif

Modified: trunk/vidix/sysdep/pci_linux.c
==============================================================================
--- trunk/vidix/sysdep/pci_linux.c	Fri Dec 11 00:16:08 2009	(r29988)
+++ trunk/vidix/sysdep/pci_linux.c	Fri Dec 11 00:20:09 2009	(r29989)
@@ -31,7 +31,7 @@
 //#include <sys/perm.h> doesn't exist on libc5 systems
 int iopl();
 #else
-#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__)
+#if !defined(__sparc__) && !defined(__powerpc__) && !defined(__x86_64__) && !defined(__sh__)
 #include <sys/io.h>
 #endif
 #endif


More information about the MPlayer-cvslog mailing list