about summary refs log tree commit diff
path: root/sysdeps/x86_64/bits/wordsize.h
blob: e25af287e8a36194813ef383defb8044546b2fde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Determine the wordsize from the preprocessor defines.  */

#if defined __x86_64__ && !defined __ILP32__
# define __WORDSIZE	64
#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