Re: [PATCH] Include lavu mathematics.h everywhere M_PI is used

compn <[email protected]> Wed, 11 Dec 2024 12:58:34 -1000
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
On Sun, 8 Dec 2024 01:25:26 +0100, Alexander Strasser wrote:

> M_PI is not mandated by the C standard.
> 
> Fix part of ticket 2423
> ---
> 
> Depening on the platform the switch to C11 has the effect of
> losing the M_PI define.

i agree we should define m_pi then.

> This patch tries to not rely on M_PI being defined while also
> making the source a bit more standards compliant.

i did not test patch.

-compn