Mercurial > mplayer.hg
changeset 32639:4635bb166b62
configure: Add HAVE_MMAP definition for FFmpeg to config.h.
author | diego |
---|---|
date | Thu, 23 Dec 2010 12:01:27 +0000 |
parents | 4e23d0206602 |
children | 982ff6ad6e90 |
files | configure |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Thu Dec 23 11:14:25 2010 +0000 +++ b/configure Thu Dec 23 12:01:27 2010 +0000 @@ -3495,8 +3495,10 @@ _mman=no statement_check sys/mman.h 'mmap(0, 0, 0, 0, 0, 0)' && _mman=yes if test "$_mman" = yes ; then + def_mmap='#define HAVE_MMAP 1' def_mman_h='#define HAVE_SYS_MMAN_H 1' else + def_mmap='#define HAVE_MMAP 0' def_mman_h='#undef HAVE_SYS_MMAN_H' os2 && _need_mmap=yes fi @@ -8717,6 +8719,7 @@ $def_lrintf $def_mlib $def_mkstemp +$def_mmap $def_network $def_pic $def_posix_memalign