diff options
Diffstat (limited to 'libc/sysdeps/linux/tile/bits/wordsize.h')
-rw-r--r-- | libc/sysdeps/linux/tile/bits/wordsize.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/tile/bits/wordsize.h b/libc/sysdeps/linux/tile/bits/wordsize.h new file mode 100644 index 000000000..9dc4da5de --- /dev/null +++ b/libc/sysdeps/linux/tile/bits/wordsize.h @@ -0,0 +1,11 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#ifdef __LP64__ +# define __WORDSIZE 64 +# define __WORDSIZE_TIME64_COMPAT32 1 +#else +# define __WORDSIZE 32 +# define __WORDSIZE_TIME64_COMPAT32 0 +# define __WORDSIZE32_SIZE_ULONG 0 +# define __WORDSIZE32_PTRDIFF_LONG 0 +#endif |