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:
45ad33c
)
ext/gl: Don't define boolean on Windows with MSVC
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Thu, 27 Oct 2016 03:40:03 +0000
(09:10 +0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:23 +0000
(19:32 +0000)
The headers we include already define boolean on Windows with MSVC, and
it leads to a typedef redefinition error with jpeglib.h which tries to
redefine it in jmorecfg.h
ext/gl/gstgloverlay.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstgloverlay.c
b/ext/gl/gstgloverlay.c
index
e7b4c0a
..
b39baf4
100644
(file)
--- a/
ext/gl/gstgloverlay.c
+++ b/
ext/gl/gstgloverlay.c
@@
-44,6
+44,9
@@
#include <stdio.h>
#include <stdlib.h>
+#ifdef _MSC_VER
+#define HAVE_BOOLEAN
+#endif
#include <jpeglib.h>
#include <png.h>