Commit 38452bb3 authored by Marvin Scholz's avatar Marvin Scholz Committed by Felix Paul Kühne

macosx: services_discovery/bonjour: Allow compilation with SDKs < 10.11

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 8f4cf91d
......@@ -56,11 +56,19 @@ NSString *const VLCBonjourProtocolServiceName = @"VLCBonjourProtocolServiceName"
@interface VLCNetServiceDiscoveryController : NSObject <NSNetServiceBrowserDelegate, NSNetServiceDelegate>
{
#ifdef MAC_OS_X_VERSION_10_11
NSArray<NSNetServiceBrowser *> *_serviceBrowsers;
NSMutableArray<NSNetService *> *_rawNetServices;
NSMutableArray<NSNetService *> *_resolvedNetServices;
NSMutableArray<NSValue *> *_inputItemsForNetServices;
#else
NSArray *_serviceBrowsers;
NSMutableArray *_rawNetServices;
NSMutableArray *_resolvedNetServices;
NSMutableArray *_inputItemsForNetServices;
#endif
NSArray *_activeProtocols;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment