mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
FreeBSD: Fixes required to build ZFS on PowerPC
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10622
This commit is contained in:
@@ -542,6 +542,21 @@ extern "C" {
|
||||
#define _BIT_FIELDS_LTOH
|
||||
#endif
|
||||
|
||||
#if !defined(__powerpc)
|
||||
#define __powerpc
|
||||
#endif
|
||||
|
||||
#if defined(__powerpc64__)
|
||||
#define _LONG_LONG_ALIGNMENT 8
|
||||
#define _MULTI_DATAMODEL
|
||||
#else
|
||||
#define _LONG_LONG_ALIGNMENT 4
|
||||
#endif
|
||||
#define _LONG_LONG_ALIGNMENT_32 4
|
||||
#define _ALIGNMENT_REQUIRED 1
|
||||
|
||||
#define _SUNOS_VTOC_16 1
|
||||
|
||||
/*
|
||||
* The following set of definitions characterize the Solaris on SPARC systems.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user