Files
mirror_zfs/lib/libspl/include/sys
John Paul Adrian Glaubitz d48be524ce 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 <behlendorf1@llnl.gov>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Closes #5913
2017-03-22 17:55:00 -07:00
..
2012-08-27 11:47:44 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:59 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2017-01-03 11:31:18 -06:00
2017-01-03 11:31:18 -06:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-10-25 13:57:25 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:59 -07:00
2013-12-18 16:46:35 -08:00
2016-09-20 10:07:58 -07:00
2015-09-03 14:14:55 -07:00
2010-08-31 13:41:59 -07:00
2016-11-29 14:34:33 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2010-08-31 13:41:59 -07:00
2016-09-29 15:55:41 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:59 -07:00
2013-12-18 16:46:35 -08:00
2014-08-13 10:35:00 -07:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00
2013-12-18 16:46:35 -08:00