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:
parent
2d73f7e208
commit
726e8d8884
@ -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