You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
Fix compilation on Mac OS X 10.4: Defining _POSIX_C_SOURCE hides the u_char &
similar typedefs that sysctl.h needs. Since sysctl() itself isn't POSIX undefining _POSIX_C_SOURCE for check_altivec.c seems the best way to fix this. patch by David Conrad lessen42 at gmail com Originally committed as revision 15306 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Diego Biurrun
parent
43c164788c
commit
7f0d242b14
@@ -23,6 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
#undef _POSIX_C_SOURCE
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#elif __AMIGAOS4__
|
#elif __AMIGAOS4__
|
||||||
#include <exec/exec.h>
|
#include <exec/exec.h>
|
||||||
|
Reference in New Issue
Block a user