You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
442 B
18 lines
442 B
3 years ago
|
/* Determine the wordsize from the preprocessor defines. */
|
||
|
|
||
|
#if defined __x86_64__ && !defined __ILP32__
|
||
|
# define __WORDSIZE 64
|
||
|
#else
|
||
|
# define __WORDSIZE 32
|
||
|
#define __WORDSIZE32_SIZE_ULONG 0
|
||
|
#define __WORDSIZE32_PTRDIFF_LONG 0
|
||
|
#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
|
||
|
#else
|
||
|
# define __WORDSIZE_TIME64_COMPAT32 0
|
||
|
#endif
|