[FFmpeg-devel] Fix build on Mac OS X PPC

David Conrad lessen42
Wed Aug 27 00:02:56 CEST 2008


Hi,

As noticed by Diego, ffmpeg currently doesn't build on PPC on Mac OS  
X. The problem is that defining _POSIX_C_SOURCE hides the u_char &  
similar typedefs that sysctl.h needs. Since sysctl() itself isn't  
POSIX (I think?) undefining _POSIX_C_SOURCE for check_altivec.c seems  
the best way to fix this.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: osx-sysctl-fix.txt
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080826/d34454f7/attachment.txt>
-------------- next part --------------




More information about the ffmpeg-devel mailing list