Mail Archives: djgpp-workers/2000/03/08/11:10:43
On Wed, 8 Mar 2000, Eli Zaretskii wrote:
> On Wed, 8 Mar 2000, Hans-Bernhard Broeker wrote:
> > #include <sys/djnull.h>
> > #ifndef NULL
> > #define NULL _DJ_NULL
> > #endif
>
> I like this better. But isn't it cleaner to have all the #ifndef stuff
> inside sys/djnull.h, instead of exposing it to the public headers?
Would be cleaner, sure. The idea is derived from P.J.Plauger's setup,
which has lots more in that header than just (his equivalent of) _DJ_NULL,
so this two-step process (#include, #define) is necessary, for him, but
not for us.
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -