diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-01 10:16:43 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-03-01 10:16:43 +0000 |
commit | 7a5924159cbc7c2c749ee3ba5499e3c46aef3240 (patch) | |
tree | 9bb2750267e6757cad30dc03938b73e964557096 | |
parent | edf9dcba6b092bb6530d85df9b8aa77ad7dd2995 (diff) |
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
-rw-r--r-- | loader/dmo/DMO_VideoDecoder.c | 2 | ||||
-rw-r--r-- | 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 <fcntl.h> #include <errno.h> #include <sys/types.h> -#ifndef __MINGW32__ +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif #include <stdio.h> 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 <fcntl.h> #include <errno.h> #include <sys/types.h> -#ifndef __MINGW32__ +#ifdef HAVE_SYS_MMAN_H #include <sys/mman.h> #endif #include <stdio.h> |