[PATCH] winemac.drv: fix compile with pre macOS 10.12 SDKs

Dean Greer gcenx83 at gmail.com
Sun Jan 23 13:37:27 CST 2022


On Sun, Jan 23, 2022 at 2:08 PM Dean Greer <gcenx83 at gmail.com> wrote:

> From 10392f7f4f469f266016542b1d3c0b7d39d59bbc Mon Sep 17 00:00:00 2001
> From: Dean M Greer <gcenx83 at gmail.com>
> Date: Sun, 23 Jan 2022 13:58:38 -0500
> Subject: [PATCH] winemac.drv: fix compile with pre macOS 10.12 SDKs
>
> Fixes a regression introduced by
> https://source.winehq.org/git/wine.git/commit/e58b1a2b395b56859157e7dd8d08cca4448f66c9
>
> Signed-off-by: Dean M Greer <gcenx83 at gmail.com>
> ---
>  dlls/winemac.drv/cocoa_app.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/dlls/winemac.drv/cocoa_app.h b/dlls/winemac.drv/cocoa_app.h
> index e5caad00a870..52c91c0621f1 100644
> --- a/dlls/winemac.drv/cocoa_app.h
> +++ b/dlls/winemac.drv/cocoa_app.h
> @@ -56,6 +56,7 @@
>  #define NSWindowStyleMaskResizable          NSResizableWindowMask
>  #define NSWindowStyleMaskTitled             NSTitledWindowMask
>  #define NSWindowStyleMaskUtilityWindow      NSUtilityWindowMask
> +#define NSWindowStyleMaskNonactivatingPanel NSNonactivatingPanelMask
>  #endif
>
>  #define ERR(...) do { if (macdrv_err_on) LogError(__func__, __VA_ARGS__);
> } while (false)
> --
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220123/4dc51564/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac.drv-fix-compile-with-pre-macOS-10.12-SDKs.patch
Type: application/octet-stream
Size: 1057 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220123/4dc51564/attachment.obj>


More information about the wine-devel mailing list