Changes to sys/ includes to support PowerPC.

Reviewed by:	obrien, dfr
This commit is contained in:
benno 2001-06-10 02:08:36 +00:00
parent 79f5a0e9f0
commit b7aa1a45b4
2 changed files with 4 additions and 1 deletions

View File

@ -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__)

View File

@ -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