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

Alexander Strasser <[email protected]> Sat, 14 Dec 2024 17:40:40 +0100
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
On 2024-12-08 01:25 +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.
>
> This patch tries to not rely on M_PI being defined while also
> making the source a bit more standards compliant.
>
> The problem was repored in https://trac.mplayerhq.hu/ticket/2423

Committed as SVN r38667

Reporter of ticket 2423 also confirmed it solves part
of his problem.

Now only the C++ (static) linking problem of that ticket
remains to be solved.


  Alexander