mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
sparc: Remove 64 bit check on sparc32 wordsize (BZ 27574)
The sparc32 is always 32 bits.
Checked on sparcv9-linux-gnu.
(cherry picked from commit dd57f5e7b6
)
This commit is contained in:
parent
e1135387de
commit
61484011e7
@ -1,11 +1,6 @@
|
|||||||
/* Determine the wordsize from the preprocessor defines. */
|
/* Determine the wordsize from the preprocessor defines. */
|
||||||
|
|
||||||
#if defined __arch64__ || defined __sparcv9
|
#define __WORDSIZE 32
|
||||||
# define __WORDSIZE 64
|
#define __WORDSIZE_TIME64_COMPAT32 0
|
||||||
# define __WORDSIZE_TIME64_COMPAT32 1
|
#define __WORDSIZE32_SIZE_ULONG 0
|
||||||
#else
|
#define __WORDSIZE32_PTRDIFF_LONG 0
|
||||||
# define __WORDSIZE 32
|
|
||||||
# define __WORDSIZE_TIME64_COMPAT32 0
|
|
||||||
# define __WORDSIZE32_SIZE_ULONG 0
|
|
||||||
# define __WORDSIZE32_PTRDIFF_LONG 0
|
|
||||||
#endif
|
|
||||||
|
Loading…
Reference in New Issue
Block a user