diff options
Diffstat (limited to 'libc/sysdeps/linux/x86_64/bits/wordsize.h')
-rw-r--r-- | libc/sysdeps/linux/x86_64/bits/wordsize.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/bits/wordsize.h b/libc/sysdeps/linux/x86_64/bits/wordsize.h new file mode 100644 index 000000000..a40a0d816 --- /dev/null +++ b/libc/sysdeps/linux/x86_64/bits/wordsize.h @@ -0,0 +1,8 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#if defined __x86_64__ +# define __WORDSIZE 64 +# define __WORDSIZE_COMPAT32 1 +#else +# define __WORDSIZE 32 +#endif |