From a6c88e4bf1d148ac462c2bcd7061eff602b627d6 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 5 Oct 2016 20:29:06 +0200 Subject: SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP around new macOS 10.12 deprecations ...for now Change-Id: I64a0a8f6a006d75b6f82d7aae570aef414984a78 --- apple_remote/source/RemoteMainController.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apple_remote/source') diff --git a/apple_remote/source/RemoteMainController.m b/apple_remote/source/RemoteMainController.m index 79af22fd9f3e..9e933a302880 100644 --- a/apple_remote/source/RemoteMainController.m +++ b/apple_remote/source/RemoteMainController.m @@ -85,6 +85,8 @@ - (void) postTheEvent: (short int)buttonIdentifier modifierFlags:(int)modifierFlags { +SAL_WNODEPRECATED_DECLARATIONS_PUSH + // 'NSApplicationDefined' is deprecated: first deprecated in macOS 10.12 [NSApp postEvent: [NSEvent otherEventWithType:NSApplicationDefined location:NSZeroPoint @@ -96,6 +98,7 @@ data1: buttonIdentifier data2: 0] atStart: NO]; +SAL_WNODEPRECATED_DECLARATIONS_POP } -- cgit