Subject: bug#46036: fails do build on macos 10.7

From: Riccardo Mottola <[email-masked]>
Date: Sat, 30 Jan 2021 19:32:17 +0100

Hi,

Eli Zaretskii wrote:
>>>> this code is guarded with MacOS 10.7, but the compiler doesn't like it.
>>>>
>>>> It is as easy to write it old-style:
>>>>     NSNumber *isUbiquitousItem = [NSNumber numberWithBool:YES];
>>>>
>>>> and emacs 27.1 happily running on Lion again.
>>> Alan, any comments on this?
>> Looks fine to me. Is this good to go into Emacs 27, or does it have to
>> wait until the release is done?
> Please push to emacs-27.
>
> Is this change safe, or will we need another pretest to be sure?  I
> thought we could next go straight to a release candidate.

to my knowledge it is safe: it is really equivalent code, the new syntax 
is just a shortcut. A test on a newer MacOS is of course needed, I don't 
have one.

Riccardo