blob: 26507d13fb91e5174d2483474202d1ec435efadd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/track_event_legacy.h.orig 2023-04-05 11:59:13 UTC
+++ src/3rdparty/chromium/third_party/perfetto/include/perfetto/tracing/track_event_legacy.h
@@ -267,7 +267,7 @@ class PERFETTO_EXPORT_COMPONENT LegacyTraceId {
// are different. E.g. on Mac size_t is considered a different type from
// uint64_t even though it has the same size and signedness.
// Below we add overloads for those types that are known to cause ambiguity.
-#if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE)
+#if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || defined(__OpenBSD__)
explicit LegacyTraceId(size_t raw_id) : raw_id_(raw_id) {}
explicit LegacyTraceId(intptr_t raw_id)
: raw_id_(static_cast<uint64_t>(raw_id)) {}
|