mirror of
https://github.com/glfw/glfw.git
synced 2025-10-02 21:00:57 +00:00
Fixes glfw/src/cocoa_platform.h:34:9: warning: 'GL_SILENCE_DEPRECATION' macro redefined [-Wmacro-redefined]
This commit is contained in:
parent
9477311130
commit
ded619239a
@ -31,7 +31,9 @@
|
|||||||
|
|
||||||
// NOTE: All of NSGL was deprecated in the 10.14 SDK
|
// NOTE: All of NSGL was deprecated in the 10.14 SDK
|
||||||
// This disables the pointless warnings for every symbol we use
|
// This disables the pointless warnings for every symbol we use
|
||||||
|
#ifndef GL_SILENCE_DEPRECATION
|
||||||
#define GL_SILENCE_DEPRECATION
|
#define GL_SILENCE_DEPRECATION
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__OBJC__)
|
#if defined(__OBJC__)
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user