PERFORCE change 192189 for review

John Baldwin jhb at FreeBSD.org
Wed Apr 27 14:22:54 UTC 2011


http://p4web.freebsd.org/@@192189?ac=10

Change 192189 by jhb at jhb_jhbbsd on 2011/04/27 14:21:57

	Fix build on i386.

Affected files ...

.. //depot/projects/mcelog/mcelog.c#7 edit

Differences ...

==== //depot/projects/mcelog/mcelog.c#7 (text) ====

@@ -29,6 +29,10 @@
 #include <sys/sysctl.h>
 #include <machine/cpufunc.h>
 #include <machine/cputypes.h>
+#ifdef __i386__
+/* Conflicts with 'enum cputype' in <mcelog.h>. */
+#undef CPU_P4
+#endif
 #include <machine/specialreg.h>
 #include <machine/mca.h>
 #include <err.h>


More information about the p4-projects mailing list