]> git.proxmox.com Git - mirror_zfs.git/commit
Either _ILP32 or _LP64 must be defined
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Dec 2015 22:58:29 +0000 (14:58 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Dec 2015 19:55:38 +0000 (11:55 -0800)
commita22502c9e6656e8d19e43de7f983588afc719ec5
tree5eb4f2b922984659aeeb6ae1df338e1daa1276a7
parent24ef51f660b0eb4e1507c440f4bcf0c6b38f31d0
Either _ILP32 or _LP64 must be defined

For some arm, powerpc, and sparc platforms it was possible that
neither _ILP32 of _LP64 would be defined.  Update the isa_defs.h
header to explicitly set these macros and generate a compile error
in the case neither are defined.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
Closes #4048
lib/libspl/include/sys/isa_defs.h