From bc52c7bb00c50fe946ca7396832c213e400485fa Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Wed, 23 Apr 2014 13:30:27 +0100 Subject: [PATCH] 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) --- gst-libs/gst/gl/gstglapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index 8605710232..01caecb60b 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -54,7 +54,7 @@ #ifndef GL_GLEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES 1 #endif -# if __APPLE__ +# ifdef __APPLE__ # include # include # else @@ -68,7 +68,7 @@ /* OpenGL for desktop systems */ #if GST_GL_HAVE_OPENGL -# if __APPLE__ +# ifdef __APPLE__ # include # include # include