• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * GStreamer
3  * Copyright (C) 2020 Matthew Waters <matthew@centricular.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Library General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Library General Public License for more details.
14  *
15  * You should have received a copy of the GNU Library General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA 02110-1301, USA.
19  */
20 
21 #include <gst/gl/gstglconfig.h>
22 
23 /* The glext.h guard was renamed in 2018, but some software which
24  * includes their own copy of the GL headers (such as qt) might have
25  * older version which use the old guard. This would result in the
26  * header being included again (and symbols redefined).
27  *
28  * To avoid this, we define the "old" guard if the "new" guard is
29  * defined.*/
30 #if GST_GL_HAVE_OPENGL
31 #ifdef __gl_glext_h_
32 #ifndef __glext_h_
33 #define __glext_h_ 1
34 #endif
35 #endif
36 #endif
37