From 7a5924159cbc7c2c749ee3ba5499e3c46aef3240 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 1 Mar 2008 10:16:43 +0000 Subject: Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26136 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dmo/DMO_VideoDecoder.c | 2 +- loader/dshow/DS_VideoDecoder.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/dmo/DMO_VideoDecoder.c b/loader/dmo/DMO_VideoDecoder.c index 2304917145..c018506d75 100644 --- a/loader/dmo/DMO_VideoDecoder.c +++ b/loader/dmo/DMO_VideoDecoder.c @@ -39,7 +39,7 @@ struct DMO_VideoDecoder #include #include #include -#ifndef __MINGW32__ +#ifdef HAVE_SYS_MMAN_H #include #endif #include diff --git a/loader/dshow/DS_VideoDecoder.c b/loader/dshow/DS_VideoDecoder.c index 0b83419f98..415e7a3fb5 100644 --- a/loader/dshow/DS_VideoDecoder.c +++ b/loader/dshow/DS_VideoDecoder.c @@ -39,7 +39,7 @@ static SampleProcUserData sampleProcData; #include #include #include -#ifndef __MINGW32__ +#ifdef HAVE_SYS_MMAN_H #include #endif #include -- cgit v1.2.3