Skip to content

Commit

Permalink
Re-enable ffmpeg binary on Darwin.
Browse files Browse the repository at this point in the history
ffmpeg.c enables _XOPEN_SOURCE, which causes something included from ctype.h
to define _POSIX_C_SOURCE. Still no idea why standalone FFmpeg build works.
  • Loading branch information
NigelPearson committed Jan 2, 2011
1 parent 95ee7ee commit d16c94e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/configure
Expand Up @@ -3068,11 +3068,12 @@ case $target_os in
enabled ppc && add_asflags -force_cpusubtype_ALL
# Workaround compile errors from missing u_int/uint def
CPPFLAGS=`echo $CPPFLAGS | sed 's/-D_POSIX_C_SOURCE=200112//'`
# Workaround compile errors from missing ru_maxrss
add_cppflags -D_DARWIN_C_SOURCE
enable appleremote
enable backend
enable darwin
disable dvb
disable ffmpeg
# Prevent linker problems on default Intel 10.5 XCode:
ldver=$(ld -v 2>&1 | sed -e s/^[^-]*-//)
osxver=$(uname -r | cut -c 1)
Expand Down

0 comments on commit d16c94e

Please sign in to comment.