mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
glalpha: fix compilation with msvc
It doesn't define M_PI
This commit is contained in:
parent
82c43ff9a3
commit
6f04c3ac87
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@
|
|||
#include <math.h>
|
||||
#include <gst/gl/gstglfuncs.h>
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (glalpha_debug);
|
||||
#define GST_CAT_DEFAULT glalpha_debug
|
||||
|
||||
|
|
Loading…
Reference in a new issue