Brad <[email protected]> writes:

> When attempting to re-enable the AltiVec support it was noticed that we need 
> to undefine
> _POSIX_C_SOURCE to appease the headers for ff_get_cpu_flags_ppc() to be able 
> to compile.
>
> diff --git a/libavutil/ppc/cpu.c b/libavutil/ppc/cpu.c
> index 85c1f2c..6b122ed 100644
> --- a/libavutil/ppc/cpu.c
> +++ b/libavutil/ppc/cpu.c
> @@ -20,6 +20,7 @@
>  #undef _POSIX_C_SOURCE
>  #include <sys/sysctl.h>
>  #elif defined(__OpenBSD__)
> +#undef _POSIX_C_SOURCE
>  #include <sys/param.h>
>  #include <sys/sysctl.h>
>  #include <machine/cpu.h>

What exactly is the problem?

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to