Brendan Shanks : winemac.drv: Build cocoa_window.m with GL_SILENCE_DEPRECATION.

Alexandre Julliard julliard at winehq.org
Thu Jul 23 16:36:57 CDT 2020


Module: wine
Branch: master
Commit: 737c54dca02f2d8780258eae24c223a7de5fa1cc
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=737c54dca02f2d8780258eae24c223a7de5fa1cc

Author: Brendan Shanks <bshanks at codeweavers.com>
Date:   Wed Jul 22 15:47:37 2020 -0700

winemac.drv: Build cocoa_window.m with GL_SILENCE_DEPRECATION.

Signed-off-by: Brendan Shanks <bshanks at codeweavers.com>
Signed-off-by: Ken Thomases <ken at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winemac.drv/cocoa_window.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m
index edbfab518e..9c2ffb1623 100644
--- a/dlls/winemac.drv/cocoa_window.m
+++ b/dlls/winemac.drv/cocoa_window.m
@@ -20,6 +20,7 @@
 
 #include "config.h"
 
+#define GL_SILENCE_DEPRECATION
 #import <Carbon/Carbon.h>
 #import <CoreVideo/CoreVideo.h>
 #ifdef HAVE_METAL_METAL_H




More information about the wine-cvs mailing list