From ded619239a717017e4d1970e8f6ad59b0276aed3 Mon Sep 17 00:00:00 2001 From: Stephen Gowen Date: Tue, 19 Jan 2021 11:31:15 -0600 Subject: [PATCH] Fixes glfw/src/cocoa_platform.h:34:9: warning: 'GL_SILENCE_DEPRECATION' macro redefined [-Wmacro-redefined] --- src/cocoa_platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cocoa_platform.h b/src/cocoa_platform.h index 01dcd87da..64a998ffa 100644 --- a/src/cocoa_platform.h +++ b/src/cocoa_platform.h @@ -31,7 +31,9 @@ // NOTE: All of NSGL was deprecated in the 10.14 SDK // This disables the pointless warnings for every symbol we use +#ifndef GL_SILENCE_DEPRECATION #define GL_SILENCE_DEPRECATION +#endif #if defined(__OBJC__) #import