Index: webrtc/base/objc/RTCMacros.h |
diff --git a/webrtc/api/objc/WebRTC-Prefix.pch b/webrtc/base/objc/RTCMacros.h |
similarity index 68% |
copy from webrtc/api/objc/WebRTC-Prefix.pch |
copy to webrtc/base/objc/RTCMacros.h |
index 990b1602da936a98a04b315411b2487aaaf904e5..9d4646bd2187cfd6990677ae77037bd7b6754a53 100644 |
--- a/webrtc/api/objc/WebRTC-Prefix.pch |
+++ b/webrtc/base/objc/RTCMacros.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright 2015 The WebRTC project authors. All Rights Reserved. |
+ * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
* |
* Use of this source code is governed by a BSD-style license |
* that can be found in the LICENSE file in the root of the source |
@@ -8,6 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#if !defined(__has_feature) || !__has_feature(objc_arc) |
-#error "This file requires ARC support." |
+#if defined(__cplusplus) |
+ #define RTC_EXPORT extern "C" |
+#else |
+ #define RTC_EXPORT extern |
#endif |