[MPlayer-cvslog] r26136 - in trunk/loader: dmo/DMO_VideoDecoder.c dshow/DS_VideoDecoder.c
diego
subversion at mplayerhq.hu
Sat Mar 1 11:16:43 CET 2008
Author: diego
Date: Sat Mar 1 11:16:43 2008
New Revision: 26136
Log:
Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check.
Modified:
trunk/loader/dmo/DMO_VideoDecoder.c
trunk/loader/dshow/DS_VideoDecoder.c
Modified: trunk/loader/dmo/DMO_VideoDecoder.c
==============================================================================
--- trunk/loader/dmo/DMO_VideoDecoder.c (original)
+++ trunk/loader/dmo/DMO_VideoDecoder.c Sat Mar 1 11:16:43 2008
@@ -39,7 +39,7 @@ struct DMO_VideoDecoder
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
-#ifndef __MINGW32__
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <stdio.h>
Modified: trunk/loader/dshow/DS_VideoDecoder.c
==============================================================================
--- trunk/loader/dshow/DS_VideoDecoder.c (original)
+++ trunk/loader/dshow/DS_VideoDecoder.c Sat Mar 1 11:16:43 2008
@@ -39,7 +39,7 @@ static SampleProcUserData sampleProcData
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
-#ifndef __MINGW32__
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
#include <stdio.h>
More information about the MPlayer-cvslog
mailing list