mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
closedcaption: Fix build with Visual Studio
../ext/closedcaption/io-sim.c(440): error C2065: 'M_PI': undeclared identifier ../ext/closedcaption/io-sim.c(442): error C2065: 'M_LN2': undeclared identifier
This commit is contained in:
parent
48d897f65f
commit
4430fa0e3e
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _USE_MATH_DEFINES /* Needed for M_PI and M_LN2 */
|
||||
#endif
|
||||
#include <math.h> /* sin(), log() */
|
||||
#include <errno.h>
|
||||
#include <ctype.h> /* isspace() */
|
||||
|
|
Loading…
Reference in a new issue