mirror of https://github.com/mpv-player/mpv
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:
parent
edf9dcba6b
commit
7a5924159c
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue