Module: wine Branch: master Commit: 737c54dca02f2d8780258eae24c223a7de5fa1cc URL: https://source.winehq.org/git/wine.git/?a=commit;h=737c54dca02f2d8780258eae2...
Author: Brendan Shanks bshanks@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@codeweavers.com Signed-off-by: Ken Thomases ken@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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