summaryrefslogtreecommitdiffstats
path: root/libdha/libdha.c
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-02 14:48:17 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-02 14:48:17 +0000
commitffc103b06affff961287e887662c78ae3ad92082 (patch)
tree7c9e1b66f8128ffad2f8bd63b7ab5ffc109ac30f /libdha/libdha.c
parent8a74c24c1a820b0c4745883e2993a554a3817d41 (diff)
downloadmpv-ffc103b06affff961287e887662c78ae3ad92082.tar.bz2
mpv-ffc103b06affff961287e887662c78ae3ad92082.tar.xz
port libdha to mingw
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10981 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha/libdha.c')
-rw-r--r--libdha/libdha.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdha/libdha.c b/libdha/libdha.c
index 8771147017..fa8efe75ee 100644
--- a/libdha/libdha.c
+++ b/libdha/libdha.c
@@ -126,7 +126,6 @@ dev_mem_way:
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)
{
@@ -144,6 +143,8 @@ void unmap_phys_mem(void *ptr, unsigned long size)
return;
}
+#endif /* Generic mmap (not win32, nor os2) */
+
unsigned char INPORT8(unsigned idx)
{
return inb(idx);