diff options
author | Matthew Waters <matthew@centricular.com> | 2018-01-03 23:09:20 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-01-03 23:09:20 +1100 |
commit | 9e563a20c28db26715a8d261731b93348abe6bcf (patch) | |
tree | a69ba3a98f899cc9971271e1359b6db51628f879 /tests | |
parent | c117460420ef8c21eb85d5dfcfd9004c4418c00a (diff) |
tests/glheaders: use #if for platform selection
GST_GL_HAVE_* are always defined to 0 or 1 so an #ifdef will always
succeed which is not the intention here.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/libs/gstglheaders.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/gstglheaders.c b/tests/check/libs/gstglheaders.c index 1e4470d17..287956e9e 100644 --- a/tests/check/libs/gstglheaders.c +++ b/tests/check/libs/gstglheaders.c @@ -64,7 +64,7 @@ #include <gst/gl/egl/gstglmemoryegl.h> #endif -#ifdef 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 |