git: ab57518e50d9 - stable/14 - sys/abi_types.h: Stick with 32-bit time32_t
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 15 Apr 2026 09:11:19 UTC
The branch stable/14 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=ab57518e50d9b711a65fa6a843dd851ee170aee3
commit ab57518e50d9b711a65fa6a843dd851ee170aee3
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-15 09:08:52 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-04-15 09:10:35 +0000
sys/abi_types.h: Stick with 32-bit time32_t
This unbreaks zfs on non-x86 64-bit architectures.
---
sys/sys/abi_types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/sys/abi_types.h b/sys/sys/abi_types.h
index 44d1bd733bbd..56e4b86f6346 100644
--- a/sys/sys/abi_types.h
+++ b/sys/sys/abi_types.h
@@ -25,11 +25,13 @@ typedef struct {
#endif
} freebsd32_uint64_t;
+#if !defined(IN_BASE) && !defined(__OPENZFS__)
#if defined(__amd64__) || defined(__i386__)
typedef __int32_t time32_t;
#else
typedef __int64_t time32_t;
#endif
#define __HAVE_TIME32_T
+#endif
#endif