diff options
author | marcel <marcel@FreeBSD.org> | 2008-03-06 16:59:36 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-03-06 16:59:36 +0000 |
commit | d0e9f0f0d14fc27ca9c72eb21366ae4821ed756a (patch) | |
tree | 04917905b6b7917f2251466d49efcf71d248c1f8 /lib/libc/string/strdup.c | |
parent | a0d97bf1991748cdad000442f28fb358282beb8a (diff) | |
download | FreeBSD-src-d0e9f0f0d14fc27ca9c72eb21366ae4821ed756a.zip FreeBSD-src-d0e9f0f0d14fc27ca9c72eb21366ae4821ed756a.tar.gz |
Add a catch-all for PCPU_MD_FIELDS. While we expect this to be
used in the kernel only (by virtue of checking for _KERNEL),
ports like lsof (part of gtop) cheat. It sets _KERNEL, but does
not set either AIM or E500. As such, PCPU_MD_FIELDS didn't get
defined and the build broke.
The catch-all is to define PCPU_MD_FIELDS with a dummy integer
when at the end of line we ended up without a definition for it.
Diffstat (limited to 'lib/libc/string/strdup.c')
0 files changed, 0 insertions, 0 deletions