Fixup include protections for building on mips64 with clang
Reviewed by: sbruno, imp Approved by: rpaulo (mentor) Differential Revision: https://reviews.freebsd.org/D4457
This commit is contained in:
parent
c8daf7a00f
commit
db792209dd
@ -19,10 +19,10 @@
|
||||
*
|
||||
* Defined types: load_avg for load averages, pctcpu for cpu percentages.
|
||||
*/
|
||||
#if defined(mips) && !defined(NetBSD)
|
||||
#if defined(mips) && !(defined(NetBSD) || defined(FreeBSD))
|
||||
# include <sys/fixpoint.h>
|
||||
# if defined(FBITS) && !defined(FSCALE)
|
||||
# define FSCALE (1 << FBITS) /* mips */
|
||||
# define FSCALE (1 << FBITS) /* RISC/os on mips */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user