PERFORCE change 119527 for review
John Baldwin
jhb at freebsd.org
Wed May 9 19:19:28 UTC 2007
On Wednesday 09 May 2007 10:58:39 am Fredrik Lindberg wrote:
> Ivan Voras wrote:
> > On 09/05/07, Fredrik Lindberg <fli at shapeshifter.se> wrote:
> >
> >> Ok, I'll take a look at the various queue.h shipped with the major BSDs,
> >> and see if I can find a common subset that suits my needs (without too
> >> many compromises) and based on the findings I'll reconsider my choice.
> >
> > I use sys/queue.h in my userland applications all the time, there's no
> > problem there.
> >
>
> And it works on {Net,Open}BSD?, I could swear that I've been bitten by
> sys/queue.h in the past when moving stuff between FreeBSD and NetBSD.
> Could have been those TAILQ-macros Robert Watson talked about though.
Just include your own copy of sys/queue.h for systems whose queue.h isn't up
to snuff. You don't have to use the OS-native one, it's ok to carry one
around, but then you have one less copy of the wheel.
--
John Baldwin
More information about the p4-projects
mailing list