From: Matthew Waters Date: Wed, 3 Jan 2018 12:09:20 +0000 (+1100) Subject: tests/glheaders: use #if for platform selection X-Git-Tag: 1.19.3~511^2~1958 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e563a20c28db26715a8d261731b93348abe6bcf;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/tests/check/libs/gstglheaders.c b/tests/check/libs/gstglheaders.c index 1e4470d173..287956e9ee 100644 --- a/tests/check/libs/gstglheaders.c +++ b/tests/check/libs/gstglheaders.c @@ -64,7 +64,7 @@ #include #endif -#ifdef GST_GL_HAVE_PLATFORM_GLX +#if GST_GL_HAVE_PLATFORM_GLX #include #include #endif