From c2c6442ad515f13c5a4cfaeee21415dd7b910f8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olov=20Br=C3=A4ndstr=C3=B6m?= Date: Wed, 26 Jun 2024 12:46:04 +0200 Subject: [PATCH] Add RTC_EXPORT to TimeUTCMicros (2nd try) In https://webrtc-review.googlesource.com/c/src/+/355181 I supposed to add RTC_EXPORT to the TimeUTCMicros function. However in the code I added it to TimeUTCMillis(). I hadn't realized there where two similar functions, so I did a poor error check. I think it make sense to have RTC_EXPORT on both of them, since they are similar. So I opted to not revert the change in the previous faulty CL. Bug: chromium:333359951 Change-Id: Icb3d3adeebd4fbf56244986a9e801bee84ff04df Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/355760 Reviewed-by: Tomas Gunnarsson Commit-Queue: Tomas Gunnarsson Cr-Commit-Position: refs/heads/main@{#42546} --- rtc_base/time_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtc_base/time_utils.h b/rtc_base/time_utils.h index 0da369fac3..872ae4a8bf 100644 --- a/rtc_base/time_utils.h +++ b/rtc_base/time_utils.h @@ -129,7 +129,7 @@ int64_t TmToSeconds(const tm& tm); // system time is changed, e.g., by some other process calling // settimeofday. Always use rtc::TimeMicros(), not this function, for // measuring time intervals and timeouts. -int64_t TimeUTCMicros(); +RTC_EXPORT int64_t TimeUTCMicros(); // Return the number of milliseconds since January 1, 1970, UTC. // See above.