Fix FreeBSD-presence macro to fix the build on mips with clang.
GCC doesn't define 'mips' which is why it doesn't trip over this. Sponsored by: DARPA / AFRL
This commit is contained in:
parent
04a91333db
commit
8cf606a4d6
@ -19,7 +19,7 @@
|
||||
*
|
||||
* Defined types: load_avg for load averages, pctcpu for cpu percentages.
|
||||
*/
|
||||
#if defined(mips) && !(defined(NetBSD) || defined(FreeBSD))
|
||||
#if defined(mips) && !(defined(NetBSD) || defined(__FreeBSD__))
|
||||
# include <sys/fixpoint.h>
|
||||
# if defined(FBITS) && !defined(FSCALE)
|
||||
# define FSCALE (1 << FBITS) /* RISC/os on mips */
|
||||
|
Loading…
Reference in New Issue
Block a user