Changes to sys/ includes to support PowerPC.
Reviewed by: obrien, dfr
This commit is contained in:
parent
79f5a0e9f0
commit
b7aa1a45b4
@ -72,7 +72,7 @@ struct fid {
|
||||
*/
|
||||
|
||||
#define MFSNAMELEN 16 /* length of fs type name, including null */
|
||||
#ifdef __i386__
|
||||
#if defined(__i386__) || defined(__powerpc__)
|
||||
#define MNAMELEN 80 /* length of buffer for returned name */
|
||||
#endif
|
||||
#if defined(__alpha__) || defined(__ia64__)
|
||||
|
@ -82,6 +82,9 @@
|
||||
#ifdef __i386__
|
||||
#define KINFO_PROC_SIZE 648 /* the correct size for kinfo_proc */
|
||||
#endif
|
||||
#ifdef __powerpc__
|
||||
#define KINFO_PROC_SIZE 656
|
||||
#endif
|
||||
#ifndef KINFO_PROC_SIZE
|
||||
#error "Unknown architecture"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user