File: 0001-Add-missing-typedefs-for-architectures-with-SIMD-sup.patch

package info (click to toggle)
pgbouncer 1.25.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,808 kB
  • sloc: ansic: 61,423; python: 5,659; sh: 4,527; makefile: 1,361; sed: 22
file content (32 lines) | stat: -rw-r--r-- 891 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From fa3286799c9aea6236e13e8ad1ba04eaa1f6c800 Mon Sep 17 00:00:00 2001
From: Jelte Fennema-Nio <postgres@jeltef.nl>
Date: Mon, 10 Nov 2025 14:51:21 +0100
Subject: [PATCH] Add missing typedefs for architectures with SIMD support
 (#1414)

For architectures without SIMD support some additional typedefs from
Postgres are needed. Since our CI only runs ARM and AMD64 these
codepaths were not compiled in CI.

Fixes #1413
---
 include/common/postgres_compat.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/common/postgres_compat.h b/include/common/postgres_compat.h
index 771e103..0467b1d 100644
--- a/include/common/postgres_compat.h
+++ b/include/common/postgres_compat.h
@@ -17,6 +17,9 @@
 #endif
 
 #define int8 int8_t
+#define int16 int16_t
+#define int32 int32_t
+#define int64 int64_t
 #define uint8 uint8_t
 #define uint16 uint16_t
 #define uint32 uint32_t
-- 
2.51.0