Index: webrtc/base/objc/RTCMacros.h |
diff --git a/webrtc/base/objc/RTCMacros.h b/webrtc/base/objc/RTCMacros.h |
index 4979a2b87f5f9a0ef9508b344ca816de1a11b6e2..f9f15c37d3943d9d5833f8c0d1f4fd2de4390aab 100644 |
--- a/webrtc/base/objc/RTCMacros.h |
+++ b/webrtc/base/objc/RTCMacros.h |
@@ -11,10 +11,12 @@ |
#ifndef WEBRTC_BASE_OBJC_RTC_MACROS_H_ |
#define WEBRTC_BASE_OBJC_RTC_MACROS_H_ |
+#define RTC_EXPORT __attribute__((visibility("default"))) |
+ |
#if defined(__cplusplus) |
-#define RTC_EXPORT extern "C" |
+#define RTC_EXTERN extern "C" RTC_EXPORT |
#else |
-#define RTC_EXPORT extern |
+#define RTC_EXTERN extern RTC_EXPORT |
#endif |
#ifdef __OBJC__ |