svn commit: r295724 - projects/mips64-clang/contrib/top

Sean Bruno sbruno at FreeBSD.org
Wed Feb 17 22:53:31 UTC 2016


Author: sbruno
Date: Wed Feb 17 22:53:30 2016
New Revision: 295724
URL: https://svnweb.freebsd.org/changeset/base/295724

Log:
  Make the #defines clang friendly here.

Modified:
  projects/mips64-clang/contrib/top/loadavg.h

Modified: projects/mips64-clang/contrib/top/loadavg.h
==============================================================================
--- projects/mips64-clang/contrib/top/loadavg.h	Wed Feb 17 22:52:58 2016	(r295723)
+++ projects/mips64-clang/contrib/top/loadavg.h	Wed Feb 17 22:53:30 2016	(r295724)
@@ -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 */


More information about the svn-src-projects mailing list