From 1c6cace0bf88a5f30886665e2c2d2268e3a3ccc5 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 22 Jul 2013 15:45:28 -0400 Subject: fix regression in size of nlink_t (broken stat struct) on x86_64 rather than moving nlink_t back to the arch-specific file, I've added a macro _Reg defined to the canonical type for register-size values on the arch. this is not the same as _Addr for (not-yet-supported) 32-on-64 pseudo-archs like x32 and mips n32, so a new macro was needed. --- arch/x86_64/bits/alltypes.h.in | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/x86_64') diff --git a/arch/x86_64/bits/alltypes.h.in b/arch/x86_64/bits/alltypes.h.in index b9bff866..277e9448 100644 --- a/arch/x86_64/bits/alltypes.h.in +++ b/arch/x86_64/bits/alltypes.h.in @@ -1,5 +1,6 @@ #define _Addr long #define _Int64 long +#define _Reg long TYPEDEF __builtin_va_list va_list; TYPEDEF __builtin_va_list __isoc_va_list; -- cgit v1.2.1