diff options
Diffstat (limited to 'libc/sysdeps/x86_64/bits/wordsize.h')
-rw-r--r-- | libc/sysdeps/x86_64/bits/wordsize.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/x86_64/bits/wordsize.h b/libc/sysdeps/x86_64/bits/wordsize.h index 9b38756fd..e25af287e 100644 --- a/libc/sysdeps/x86_64/bits/wordsize.h +++ b/libc/sysdeps/x86_64/bits/wordsize.h @@ -2,7 +2,12 @@ #if defined __x86_64__ && !defined __ILP32__ # define __WORDSIZE 64 -# define __WORDSIZE_COMPAT32 1 #else # define __WORDSIZE 32 #endif + +#ifdef __x86_64__ +# define __WORDSIZE_TIME64_COMPAT32 1 +/* Both x86-64 and x32 use the 64-bit system call interface. */ +# define __SYSCALL_WORDSIZE 64 +#endif |