This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Net - Fix build problems
On Sat, 2002-06-22 at 15:31, Jonathan Larmour wrote:
> Gary Thomas wrote:
> >
> > #define printf diag_printf
> > +#define sprintf diag_sprintf
> > #define snprintf diag_snprintf
>
> This inspired me to look at what the docs say about defining _KERNEL. I
> then noticed that freebsd.sgml doesn't contain much stuff, compared to
> openbsd.sgml. Should I open a bugzilla bug to say that it should be updated
> to parallel the same content as openbsd.sgml? Or should this in fact be
> net/common's docs?
Yes, but I would think the former since things like _KERNEL depends on
the implementation (FreeBSD vs. OpenBSD vs. xxx) and not the fact that
it's part of the networking package.
Also note that I tried to make the FreeBSD stack much friendlier. You
don't need the INSIDE_NET stuff, and I also made it "namespace"
non-polluting as much as I could.