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 3, 2011
1 parent f5e6f3d commit 3ec48f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mythtv/configure
Expand Up @@ -3042,6 +3042,8 @@ 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
Expand Down

1 comment on commit 3ec48f2

@NigelPearson
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #9400

Please sign in to comment.