qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix macOS 10.12 deprecation warning


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix macOS 10.12 deprecation warnings
Date: Tue, 25 Apr 2017 13:11:17 +0100

On 25 April 2017 at 07:29, Brendan Shanks <address@hidden> wrote:
> macOS 10.12 deprecated/replaced many AppKit constants to make naming
> more consistent. Use the new constants, and #define them to the
> old constants when compiling against a pre-10.12 SDK.
>
> Signed-off-by: Brendan Shanks <address@hidden>
> ---
>  ui/cocoa.m | 87 
> +++++++++++++++++++++++++++++++++++++++++---------------------
>  1 file changed, 58 insertions(+), 29 deletions(-)
>

Thanks for this patch -- I'm running 10.12 but I think my SDK
is still the earlier version. Patch looks good and compiles
fine, so I've applied it to git master.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]