diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-07-21 13:29:55 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-07-21 13:29:55 +0000 |
commit | 262b6dbad9a66aecce498adb9b6b1c487e180ac6 (patch) | |
tree | 1e82bb6f8dd695fa0120d82d099101858f2117cb /libavcodec/resample2.c | |
parent | 3fc548df28f765c9f649248e1e14079120e7c74e (diff) | |
download | ffmpeg-262b6dbad9a66aecce498adb9b6b1c487e180ac6.tar.gz |
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.
Originally committed as revision 31760 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libavcodec/resample2.c')
0 files changed, 0 insertions, 0 deletions