summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2024-03-23 14:53:15 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-03-23 13:03:22 +0100
commit0fce0a75e76fd9965dc5a868ac84e7e3adb86b71 (patch)
tree1989966bfde5b38fe574c68b82271e588ab2363c
parent14d294e2014b188cce8f5a79dd46cf62cd9a86aa (diff)
Make long & friends 64-bit on 64-bit platforms
Not only on x86_64. Message-ID: <20240323115322.69075-3-bugaevc@gmail.com>
-rw-r--r--hurd/hurd_types.defs2
1 files changed, 1 insertions, 1 deletions
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;