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:
John Baldwin 2017-08-21 17:52:09 +00:00
parent 04a91333db
commit 8cf606a4d6

View File

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