[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] Compiling libevent on Windows
On Fri, Aug 13, 2010 at 3:59 AM, Gilad Benjamini
<gilad@xxxxxxxxxxxxxxxxx> wrote:
> and one more to end the day...
> event_struct.h has this code
> #ifndef TAILQ_ENTRY
> #define _EVENT_DEFINED_TQENTRY
> #define TAILQ_ENTRY(type) \
> struct { \
> struct type *tqe_next; /* next element */ \
> struct type **tqe_prev; /* address of previous next element */ \
> }
> #endif /* !TAILQ_ENTRY */
>
> Obviously, there is a missing ";" at the end of the struct.
Well, not quite. It would be an error if the code were saying
TAILQ_ENTRY(foo)
TAILQ_ENTRY(abr)
all over, but that's not how TAILQ_ENTRY is used.
See comments on
https://sourceforge.net/tracker/index.php?func=detail&aid=3044492&group_id=50884&atid=461324#
(BTW, when you create artifacts on sourceforge, it helps if you log in
to do it. That way you get email updates whenever somebody comments
on the ticket. You can also do this by logging into sourceforge and
clicking the "monitor" button.)
peace,
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.