projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c117460
)
tests/glheaders: use #if for platform selection
author
Matthew Waters
<matthew@centricular.com>
Wed, 3 Jan 2018 12:09:20 +0000
(23:09 +1100)
committer
Matthew Waters
<matthew@centricular.com>
Wed, 3 Jan 2018 12:09:20 +0000
(23:09 +1100)
GST_GL_HAVE_* are always defined to 0 or 1 so an #ifdef will always
succeed which is not the intention here.
tests/check/libs/gstglheaders.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/gstglheaders.c
b/tests/check/libs/gstglheaders.c
index 1e4470d173dc23aa0ba6553105e3a183a494f615..287956e9eeae101d4939257e5f2c2a486d35c998 100644
(file)
--- a/
tests/check/libs/gstglheaders.c
+++ b/
tests/check/libs/gstglheaders.c
@@
-64,7
+64,7
@@
#include <gst/gl/egl/gstglmemoryegl.h>
#endif
-#if
def
GST_GL_HAVE_PLATFORM_GLX
+#if GST_GL_HAVE_PLATFORM_GLX
#include <gst/gl/x11/gstgldisplay_x11.h>
#include <gst/gl/x11/gstglwindow_x11.h>
#endif