From 61f65140eb0fe350ef59aca95b89d784e30f24af Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 21 May 2012 11:45:16 -0700 Subject: Define __SYSCALL_WORDSIZE for x86-64 --- sysdeps/x86_64/bits/wordsize.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/x86_64') diff --git a/sysdeps/x86_64/bits/wordsize.h b/sysdeps/x86_64/bits/wordsize.h index 9b38756..e4d5fe7 100644 --- a/sysdeps/x86_64/bits/wordsize.h +++ b/sysdeps/x86_64/bits/wordsize.h @@ -6,3 +6,8 @@ #else # define __WORDSIZE 32 #endif + +#ifdef __x86_64__ +/* Both x86-64 and x32 use the 64-bit system call interface. */ +# define __SYSCALL_WORDSIZE 64 +#endif -- cgit v1.1