Divergence from BSD sources, e.g. __GNUC_PREREQ()
Sebastian Huber
sebastian.huber@embedded-brains.de
Thu Apr 4 09:08:00 GMT 2013
On 04/04/2013 10:47 AM, Ralf Corsepius wrote:
>
> That said, I am against adopting it, because "FreeBSD sys/queue.h" has a
> history FreeBSD changing it ad-lib, which means any attempt to provide FreeBSD
> compatibility will fail in longer terms.
Did you look at the actual differences?
The current FreeBSD <sys/queue.h> is with one exception backward compatible to
the current Newlib <sys/queue.h>, but has more macros, e.g. TAILQ_SWAP(),
STAILQ_FOREACH_SAFE(), etc.
FreeBSD removed STAILQ_REMOVE_HEAD_UNTIL() 14 years ago, but we can keep it as
a Newlib goodie.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the Newlib
mailing list