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
This commit is contained in:
diego 2008-03-01 10:16:43 +00:00
parent edf9dcba6b
commit 7a5924159c
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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>