Skip to content

Commit

Permalink
www/*chromium: unbreak build on i386
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Nagy authored and Robert Nagy committed Feb 6, 2024
1 parent 1fd1042 commit 267bcb9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
@@ -0,0 +1,15 @@
--- third_party/perfetto/src/trace_processor/db/column.h.orig 2024-02-06 12:08:38 UTC
+++ third_party/perfetto/src/trace_processor/db/column.h
@@ -48,6 +48,12 @@ template <>
struct ColumnTypeHelper<int64_t> {
static constexpr ColumnType ToColumnType() { return ColumnType::kInt64; }
};
+#if (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__i386__)
+template <>
+struct ColumnTypeHelper<long double> {
+ static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; }
+};
+#endif
template <>
struct ColumnTypeHelper<double> {
static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; }
@@ -0,0 +1,15 @@
--- third_party/perfetto/src/trace_processor/db/column.h.orig 2024-02-06 12:08:38 UTC
+++ third_party/perfetto/src/trace_processor/db/column.h
@@ -48,6 +48,12 @@ template <>
struct ColumnTypeHelper<int64_t> {
static constexpr ColumnType ToColumnType() { return ColumnType::kInt64; }
};
+#if (defined(__OpenBSD__) || defined(__FreeBSD__)) && defined(__i386__)
+template <>
+struct ColumnTypeHelper<long double> {
+ static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; }
+};
+#endif
template <>
struct ColumnTypeHelper<double> {
static constexpr ColumnType ToColumnType() { return ColumnType::kDouble; }

0 comments on commit 267bcb9

Please sign in to comment.