projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c43ff
)
glalpha: fix compilation with msvc
author
Matthew Waters
<matthew@centricular.com>
Thu, 7 Jun 2018 03:58:43 +0000
(13:58 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Thu, 7 Jun 2018 04:23:55 +0000
(14:23 +1000)
It doesn't define M_PI
ext/gl/gstglalpha.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglalpha.c
b/ext/gl/gstglalpha.c
index
aa82dc2
..
bf09049
100644
(file)
--- a/
ext/gl/gstglalpha.c
+++ b/
ext/gl/gstglalpha.c
@@
-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