[Mplayer-cvslog] CVS: main/libdha libdha.c,1.10,1.11 pci.c,1.12,1.13

Sascha Sommer CVS faust3 at mplayerhq.hu
Thu Oct 2 16:48:49 CEST 2003


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

Modified Files:
	libdha.c pci.c 
Log Message:
port libdha to mingw

Index: libdha.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/libdha.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- libdha.c	2 Feb 2003 12:27:35 -0000	1.10
+++ libdha.c	2 Oct 2003 14:47:56 -0000	1.11
@@ -126,7 +126,6 @@
 mmap:
   return mmap(0,size,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,base);
 }
-#endif /* Generic mmap (not win32, nor os2) */
 
 void unmap_phys_mem(void *ptr, unsigned long size)
 {
@@ -143,6 +142,8 @@
   
   return;
 }
+
+#endif /* Generic mmap (not win32, nor os2) */
 
 unsigned char INPORT8(unsigned idx)
 {

Index: pci.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/pci.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- pci.c	31 Mar 2003 00:14:13 -0000	1.12
+++ pci.c	2 Oct 2003 14:47:56 -0000	1.13
@@ -89,6 +89,9 @@
 #include "sysdep/pci_os2.c"
 #elif defined (_WIN32) || defined(__CYGWIN__)
 #include "sysdep/pci_win32.c"
+#ifdef __MINGW32__
+#define ENOTSUP 134		/* Not supported */
+#endif
 #endif
 
 #if 0



More information about the MPlayer-cvslog mailing list