cvs commit: src/bin/df df.c src/bin/pax options.c src/lib/libbluetooth bluetooth.c src/lib/libbsnmp src/lib/libc/gen dlfcn.c getpwent.c src/lib/libc/net gethostbydns.c src/lib/libc/rpc getnetconfig.c ...

Mark Murray mark at
Fri Mar 5 14:40:25 PST 2004

John Baldwin writes:
> > Can't ``#if defined(_KERNEL) || !defined(__cplusplus)'' be reduced to
> > just ``#ifndef __cplusplus''?  The current version somehow implies
> > that the kernel may have C++ sources, which it's not.
> Some companies that deploy FreeBSD in embedded products use C++ kernel code.

This would imply that "defined(__cplusplus)" needs to be checked for in the
kernel. I'll do this, if you like?

Mark Murray
iumop ap!sdn w,I idlaH

More information about the cvs-all mailing list