diff --git a/FL/gl.h b/FL/gl.h index e47c66e3c..7b5e9c4d7 100644 --- a/FL/gl.h +++ b/FL/gl.h @@ -55,7 +55,9 @@ # endif # ifdef __APPLE__ // PORTME: OpenGL path abstraction -# define GL_SILENCE_DEPRECATION 1 +# ifndef GL_SILENCE_DEPRECATION +# define GL_SILENCE_DEPRECATION 1 +# endif # if !defined(__gl3_h_) // make sure OpenGL/gl3.h was not included before # include # endif