top: use __mips__ and __NetBSD__ for consistency

r322767 fixed the mips64 build failure with Clang with a minimal change
to use __FreeBSD__ instead of FreeBSD in a #if test.  For consistency
and to facilitate possible upstreaming change the other macros in the
test to their canonical form.

Discussed with:	jhb
This commit is contained in:
Ed Maste 2017-08-23 17:56:55 +00:00
parent 2d73f7e208
commit 726e8d8884
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322820

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