about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-11-04 18:10:42 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-11-04 18:10:42 -0200
commit6d1774146f8e512de0cf3b05cca7c0d9205b4e5b (patch)
tree38ee73e62887c6acf4dfd972d2f51dbf63615515 /sysdeps
parent860aacdad2d52af48bc549650726b29510feaba6 (diff)
downloadglibc-6d1774146f8e512de0cf3b05cca7c0d9205b4e5b.tar.gz
glibc-6d1774146f8e512de0cf3b05cca7c0d9205b4e5b.tar.xz
glibc-6d1774146f8e512de0cf3b05cca7c0d9205b4e5b.zip
Fix sparc build due missing __WORDSIZE_TIME64_COMPAT32 definition
This patch adds the missing Linux sparc definitions from d060cd0.
Both value are copied from default sparc value [1] and with this
fix now both sparc 32 and 64 bits builds on Linux.

	* sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
	(__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.

[1] sysdeps/sparc/sparc{32,64}/bits/wordsize.h
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/wordsize.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h b/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
index 76d65799f1..121b4fe8c9 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
@@ -2,10 +2,12 @@
 
 #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
 
 #if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL