Mercurial > mplayer.hg
diff av_sub.c @ 31694:e251996735b5
darwin: allow 64-bit darwin to allocate executable memory
darwin requires _DARWIN_C_SOURCE to be defined for MAP_ANON, which is used by
swscale to determine whether to use malloc() or mmap(). 64-bit darwin does not
have an executable heap, so mmap() must be used instead of malloc(), and
therefore _DARWIN_C_SOURCE must be defined.
author | ramiro |
---|---|
date | Wed, 21 Jul 2010 13:29:55 +0000 |
parents | af4d89e131b4 |
children | 8d7f15885b64 |