In message: <20080304151326.J41184@fledge.watson.org>
Robert Watson <rwatson@FreeBSD.org> writes:
:
: On Mon, 3 Mar 2008, M. Warner Losh wrote:
:
: > --- pmake.orig/config.h 2005-02-01 03:50:35.000000000 -0700
: > +++ pmake/config.h 2008-03-03 22:24:16.745493000 -0700
: > @@ -108,4 +108,27 @@
: > # endif
: > #endif
: >
: > +#ifndef TAILQ_HEAD_INITIALIZER
: > +#define TAILQ_HEAD_INITIALIZER(head) { NULL, &(head).tqh_first }
: > +#endif
:
: In most ports of FreeBSD parts to Linux that I've seen, the preferred solution
: has to been to bring the entire FreeBSD queue.h with you rather than relying
: on the native Linux queue.h. This is what we do for OpenBSM, for example;
: this also helps out when you get to Mac OS X, Solaris, etc, where all the
: queue.h's continue to vary in subtle ways. This depends a fair amount on a
: lack of header pollution in the OS's own include files, of course...
I was rather hoping for something that could be used without any of
that nonsense...
Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"