Add missing RTC_EXPORT for the component build.
Bug: webrtc:9419
Change-Id: I3225259fb4cc55e9820f590928795f4587f1e3cb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153884
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29479}
diff --git a/api/data_channel_interface.h b/api/data_channel_interface.h
index fc47dbb..ccf3ad7 100644
--- a/api/data_channel_interface.h
+++ b/api/data_channel_interface.h
@@ -23,6 +23,7 @@
#include "rtc_base/checks.h"
#include "rtc_base/copy_on_write_buffer.h"
#include "rtc_base/ref_count.h"
+#include "rtc_base/system/rtc_export.h"
namespace webrtc {
@@ -96,7 +97,7 @@
virtual ~DataChannelObserver() = default;
};
-class DataChannelInterface : public rtc::RefCountInterface {
+class RTC_EXPORT DataChannelInterface : public rtc::RefCountInterface {
public:
// C++ version of: https://www.w3.org/TR/webrtc/#idl-def-rtcdatachannelstate
// Unlikely to change, but keep in sync with DataChannel.java:State and