v2-0001-Remove-IRIX-remnant.patch
text/x-patch
Filename: v2-0001-Remove-IRIX-remnant.patch
Type: text/x-patch
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v2-0001
Subject: Remove IRIX remnant.
| File | + | − |
|---|---|---|
| src/include/storage/s_lock.h | 2 | 2 |
From e8b7764c376978fd2da86293c8720ee53cc5b0d8 Mon Sep 17 00:00:00 2001 From: Thomas Munro <thomas.munro@gmail.com> Date: Thu, 9 Apr 2026 12:09:38 +1200 Subject: [PATCH v2 1/2] Remove IRIX remnant. IRIX last shipped in 2006, and PostgreSQL desupported it in 2013 (commit ea91a6be). --- src/include/storage/s_lock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index c9e52511990..28f83df96d6 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -452,7 +452,7 @@ do \ #endif /* powerpc */ -#if defined(__mips__) && !defined(__sgi) /* non-SGI MIPS */ +#if defined(__mips__) #define HAS_TEST_AND_SET typedef unsigned int slock_t; @@ -520,7 +520,7 @@ do \ *((volatile slock_t *) (lock)) = 0; \ } while (0) -#endif /* __mips__ && !__sgi */ +#endif /* __mips__ */ -- 2.53.0