From 6d2dfeb3e6763cfb2569bd1a47da25d21491302e Mon Sep 17 00:00:00 2001 From: Johannes Kron Date: Mon, 9 Mar 2020 12:58:47 +0100 Subject: [PATCH] Add RTC_EXPORT to webrtc::Clock Bug: chromium:1011581 Change-Id: I827ccff6946d3c86af67adcd00b57fad0440489f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170043 Commit-Queue: Johannes Kron Reviewed-by: Karl Wiberg Cr-Commit-Position: refs/heads/master@{#30748} --- system_wrappers/BUILD.gn | 1 + system_wrappers/include/clock.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn index 913073902f..1ff2ddd4fd 100644 --- a/system_wrappers/BUILD.gn +++ b/system_wrappers/BUILD.gn @@ -37,6 +37,7 @@ rtc_library("system_wrappers") { "../rtc_base:checks", "../rtc_base/synchronization:rw_lock_wrapper", "../rtc_base/system:arch", + "../rtc_base/system:rtc_export", "//third_party/abseil-cpp/absl/types:optional", ] diff --git a/system_wrappers/include/clock.h b/system_wrappers/include/clock.h index 94c87463d8..8eac3d18b3 100644 --- a/system_wrappers/include/clock.h +++ b/system_wrappers/include/clock.h @@ -17,6 +17,7 @@ #include "api/units/timestamp.h" #include "rtc_base/synchronization/rw_lock_wrapper.h" +#include "rtc_base/system/rtc_export.h" #include "system_wrappers/include/ntp_time.h" namespace webrtc { @@ -28,7 +29,7 @@ const uint32_t kNtpJan1970 = 2208988800UL; const double kMagicNtpFractionalUnit = 4.294967296E+9; // A clock interface that allows reading of absolute and relative timestamps. -class Clock { +class RTC_EXPORT Clock { public: virtual ~Clock() {} // Return a timestamp relative to an unspecified epoch.