summaryrefslogtreecommitdiffstats
path: root/module/zfs/gzip.c
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <[email protected]>2017-03-23 01:55:00 +0100
committerBrian Behlendorf <[email protected]>2017-03-22 17:55:00 -0700
commitd48be524ce96a1a6011bb658985c5b7087d576d2 (patch)
tree9abeb8c6ee75b9047a464c0a40d61def84219c93 /module/zfs/gzip.c
parent64fc776208ad14b0078b89317b0f3b24338e10c1 (diff)
libspl: Fix incorrect use of platform defines on sparc64
libspl tries to detect sparc64 by checking whether __sparc64__ is defined. Unfortunately, this assumption is not correct as sparc64 does not define __sparc64__ but it defines __sparc__ and __arch64__ instead. This leads to sparc64 being detected as 32-Bit sparc and the build fails because both _ILP32 and _LP64 are defined in this case. To fix the problem, remove the checks for __sparc64__ and just check __arch64__ if a sparc host was previously detected with __sparc__. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: John Paul Adrian Glaubitz <[email protected]> Closes #5913
Diffstat (limited to 'module/zfs/gzip.c')
0 files changed, 0 insertions, 0 deletions