summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-26 17:14:48 +0100
committerwm4 <wm4@nowhere>2014-12-26 17:30:10 +0100
commit3fdb6be3166790ff3aad68dd4d4bb83963815e4b (patch)
treed114681f0209288e69120c4d253304214c2699dd /audio
parent9317071bc309dfe22cf3b295de20e18ae9b80c26 (diff)
downloadmpv-3fdb6be3166790ff3aad68dd4d4bb83963815e4b.tar.bz2
mpv-3fdb6be3166790ff3aad68dd4d4bb83963815e4b.tar.xz
win32: add mmap() emulation
Makes all of overlay_add work on windows/mingw. Since we now don't explicitly check for mmap() anymore (it's always present), this also requires us to make af_export.c compile, but I haven't tested it.
Diffstat (limited to 'audio')
-rw-r--r--audio/filter/af.c2
-rw-r--r--audio/filter/af_export.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/audio/filter/af.c b/audio/filter/af.c
index 171169f62c..365f5c46fb 100644
--- a/audio/filter/af.c
+++ b/audio/filter/af.c
@@ -70,9 +70,7 @@ static const struct af_info *const filter_list[] = {
&af_info_pan,
&af_info_surround,
&af_info_sub,
-#if HAVE_SYS_MMAN_H
&af_info_export,
-#endif
&af_info_drc,
&af_info_extrastereo,
&af_info_lavcac3enc,
diff --git a/audio/filter/af_export.c b/audio/filter/af_export.c
index d867bc4a94..8e54fec5f5 100644
--- a/audio/filter/af_export.c
+++ b/audio/filter/af_export.c
@@ -34,7 +34,6 @@
#include "config.h"
#include <sys/types.h>
-#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>