[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: CVS commit: src/usr.bin/xlint/lint1
Alan Barrett writes:
> On Fri, 18 Apr 2014, matthew green wrote:
> >> don't include fmemopen in tools builds. Since tools does not
> >> define _NETBSD_SOURCE, we don't get the fmemopen prototype
> > hmm.... is that because we define _SOMEOTHER_SOURCE?
> > _NETBSD_SOURCE should be defined normally, unless you start to
> > ask for restricted namespaces...
> src/tools/compat/compat_defs.h goes to a lot of trouble to ensure
> that _NETBSD_SOURCE does not get defined. I don't understand why
> that is done.
that's probably a good idea in general -- it means that we're
going to have a restricted environment for tools, even on netbsd,
which helps keep them portable to other platforms.
Main Index |
Thread Index |