Date: Wed, 20 Apr 2005 20:48:24 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpmc libpmc.c Message-ID: <200504202048.j3KKmOc0050001@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2005-04-20 20:48:24 UTC
FreeBSD src repository
Modified files:
lib/libpmc libpmc.c
Log:
o Do not include <machine/pmc_mdep.h>. It's automaticly included for
us when <sys/pmc.h> is included.
o Replace "#if __i386__" and "#if __amd64__" with the equivalent of
"#ifdef __i386__" and "#ifdef __amd64__" (resp.) These tokens are
not defined on all platforms.
o Conditionally compile pmc_parse_mask() on i386 and amd64 only. It's
only referenced there. This will change when support for other
platforms is added, of course.
Ok'd by: jkoshy@
Revision Changes Path
1.3 +9 -9 src/lib/libpmc/libpmc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504202048.j3KKmOc0050001>
