mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
14 lines
327 B
C
14 lines
327 B
C
/* 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
|