diff options
Diffstat (limited to 'REORG.TODO/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h')
-rw-r--r-- | REORG.TODO/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h b/REORG.TODO/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h new file mode 100644 index 0000000000..7562875ee2 --- /dev/null +++ b/REORG.TODO/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h @@ -0,0 +1,11 @@ +/* Determine the wordsize from the preprocessor defines. */ + +#if defined __arch64__ || defined __sparcv9 +# define __WORDSIZE 64 +# define __WORDSIZE_TIME64_COMPAT32 1 +#else +# define __WORDSIZE 32 +# define __WORDSIZE32_SIZE_ULONG 0 +# define __WORDSIZE32_PTRDIFF_LONG 0 +# define __WORDSIZE_TIME64_COMPAT32 0 +#endif |