blob: c56cb48ab872ea7d27a83b964c0d776ec118ef98 [file] [log] [blame]
tkchinee75c7a2016-02-17 14:44:52 -08001/*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
tkchin5ed5ed92016-03-08 10:51:54 -080011#ifdef __OBJC__
12
tkchinee75c7a2016-02-17 14:44:52 -080013#if !defined(__has_feature) || !__has_feature(objc_arc)
14#error "This file requires ARC support."
15#endif
16
17#if !defined(__has_feature) || !__has_feature(nullability)
18#error "This file requires nullability support."
19#endif
20
tkchin9eeb6242016-04-27 01:54:20 -070021#import <Foundation/Foundation.h>
22
tkchinee75c7a2016-02-17 14:44:52 -080023// The following nonnull macros were introduced in OSX SDK 10.10.3. However,
24// the bots appear to be running something older. We define them here if they
tkchin9eeb6242016-04-27 01:54:20 -070025// aren't already defined in NSObjCRuntime.h, which is included by
26// Foundation/Foundation.h.
tkchinee75c7a2016-02-17 14:44:52 -080027
28#if !defined(NS_ASSUME_NONNULL_BEGIN)
29#define NS_ASSUME_NONNULL_BEGIN
30#endif
31
32#if !defined(NS_ASSUME_NONNULL_END)
33#define NS_ASSUME_NONNULL_END
34#endif
35
tkchin5ed5ed92016-03-08 10:51:54 -080036#endif // __OBJC__