commit | 4ba967ad7454c08d7e01b047d34d0c3d98f2a10d | [log] [tgz] |
---|---|---|
author | Brendan Shanks <brendan@bslabs.net> | Mon Apr 24 23:29:52 2017 -0700 |
committer | Peter Maydell <peter.maydell@linaro.org> | Tue Apr 25 12:33:51 2017 +0100 |
tree | c79abde5c7bd3cd96edc25736cdcdac59fb9f743 | |
parent | d77b71c2a4eb89bbf5ad6c5c023056a17fd8c514 [diff] |
ui/cocoa.m: Fix macOS 10.12 deprecation warnings 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 <brendan@bslabs.net> Message-id: 20170425062952.99149-1-brendan@bslabs.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>