mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
gl: use #ifdef instead of #if for __APPLE__
warning: "__APPLE__" is not defined [-Wundef] with gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08)
This commit is contained in:
parent
4372ba8999
commit
bc52c7bb00
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
|||
#ifndef GL_GLEXT_PROTOTYPES
|
||||
#define GL_GLEXT_PROTOTYPES 1
|
||||
#endif
|
||||
# if __APPLE__
|
||||
# ifdef __APPLE__
|
||||
# include <OpenGLES/ES2/gl.h>
|
||||
# include <OpenGLES/ES2/glext.h>
|
||||
# else
|
||||
|
@ -68,7 +68,7 @@
|
|||
|
||||
/* OpenGL for desktop systems */
|
||||
#if GST_GL_HAVE_OPENGL
|
||||
# if __APPLE__
|
||||
# ifdef __APPLE__
|
||||
# include <OpenGL/OpenGL.h>
|
||||
# include <OpenGL/gl.h>
|
||||
# include <OpenGL/glu.h>
|
||||
|
|
Loading…
Reference in a new issue