summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-07 21:44:37 +0200
committerwm4 <wm4@nowhere>2013-07-07 21:44:37 +0200
commit659a314a19c12f5efeab46caca7a306c3330d85c (patch)
tree4cbd8af54d255655f3d8420a3d30ca2990b5b09c /configure
parent74b6d8f306530910d9d2e25dd2f48afb99e7e3eb (diff)
downloadmpv-659a314a19c12f5efeab46caca7a306c3330d85c.tar.bz2
mpv-659a314a19c12f5efeab46caca7a306c3330d85c.tar.xz
osdep: remove unused mmap compatibility hacks
Not sure how this worked. Only af_export.c and tvi_v4l2.c were using mmap, but they didn't include osdep/mmap.h or mmap_anon.h. In any case, we trust that the target system is sufficiently POSIX compliant if mmap is actually defined (as checked by configure).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure b/configure
index fce0aed98c..2c9b98e04d 100755
--- a/configure
+++ b/configure
@@ -1217,13 +1217,6 @@ else
fi
echores "$_mman"
-_mman_has_map_failed=no
-statement_check sys/mman.h 'void *p = MAP_FAILED' && _mman_has_map_failed=yes
-if test "$_mman_has_map_failed" = yes ; then
- def_mman_has_map_failed=''
-else
- def_mman_has_map_failed='#define MAP_FAILED ((void *) -1)'
-fi
echocheck "dynamic loader"
_dl=no