bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 03/10] Make long & friends 64-bit on 64-bit platforms


From: Sergey Bugaev
Subject: [PATCH 03/10] Make long & friends 64-bit on 64-bit platforms
Date: Sat, 23 Mar 2024 14:53:15 +0300

Not only on x86_64.
---
 hurd/hurd_types.defs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 9f176fef..0086d139 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -425,7 +425,7 @@ type flock_t = struct {
 };
 
 type unsigned_int = uint32_t;
-#if defined(__x86_64__)
+#if defined(__LP64__)
 type long = int64_t;
 type unsigned_long = uint64_t;
 
-- 
2.44.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]