14 Dec
2024
14 Dec
'24
7:40 p.m.
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