Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 14:18:30 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Hans Petter Selasky <hps@bitfrost.no>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Make "sys/queue.h" usable with C++
Message-ID:  <16417.1389881910@critter.freebsd.dk>
In-Reply-To: <52D7E674.4010501@bitfrost.no>
References:  <52D7D302.3090403@bitfrost.no> <1679.1389879981@critter.freebsd.dk> <52D7E674.4010501@bitfrost.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <52D7E674.4010501@bitfrost.no>, Hans Petter Selasky writes:

>Or make one macro for each list type?
>
>#ifndef TAILQ_STRUCT
>#define TAILQ_STRUCT struct
>#endif
>
>#ifndef LIST_STRUCT
>#define LIST_STRUCT struct
>#endif
>
>and so on?

lets not overthink this :-)


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16417.1389881910>