glibc/sysdeps/x86/bits/wordsize.h

14 lines
327 B
C
Raw Normal View History

/* Determine the wordsize from the preprocessor defines. */
#if defined __x86_64__ && !defined __ILP32__
# define __WORDSIZE 64
#else
# define __WORDSIZE 32
#endif
2012-05-21 18:45:16 +00:00
#ifdef __x86_64__
# define __WORDSIZE_TIME64_COMPAT32 1
2012-05-21 18:45:16 +00:00
/* Both x86-64 and x32 use the 64-bit system call interface. */
# define __SYSCALL_WORDSIZE 64
#endif