ui/cocoa.m: Drop old macOS-10.12-and-earlier compat ifdefs
commit2d27c91e2b72ac7a65504ac207c89262d92464eb
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 2 May 2024 14:29:04 +0000 (2 15:29 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 3 May 2024 15:33:26 +0000 (3 17:33 +0200)
tree71b4e8cd76e675c619773a5e1d298fb10d625687
parent942ba09d7cfc11b8a149011a201d274902731333
ui/cocoa.m: Drop old macOS-10.12-and-earlier compat ifdefs

We only support the most recent two versions of macOS (currently
macOS 13 Ventura and macOS 14 Sonoma), and our ui/cocoa.m code
already assumes at least macOS 12 Monterey or better, because it uses
NSScreen safeAreaInsets, which is 12.0-or-newer.

Remove the ifdefs that were providing backwards compatibility for
building on 10.12 and earlier versions.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240502142904.62644-1-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
ui/cocoa.m