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.


> -----Original Message-----
> From: owner-libevent-us...@freehaven.net [mailto:owner-libevent-
> us...@freehaven.net] On Behalf Of Gilad Benjamini
> Sent: Friday, August 13, 2010 12:35 AM
> To: libevent-us...@freehaven.net
> Subject: [Libevent-users] Compiling libevent on Windows
> 
> I tried compiling libevent on Windows, using WinDDK.
> I initially had some issues with Makefile.nmake, and then abandoned it
> in
> favor of the simple "sources" file, used by the "build" utility.
> There were then a few issues that prevent compilation on Windows. I'm
> presenting them as-is and not as a patch, since I don't know Windows
> well
> enough to vouch for a proper patch
> - signal handler function are defined as "__cdecl" functions
> - fstat doesn't exist, but _fstat does
> 
> There was also a decent number of warnings, though nothing major. I'll
> send
> a patch for these later on.
> 
> 
> ***********************************************************************
> To unsubscribe, send an e-mail to majord...@freehaven.net with
> unsubscribe libevent-users    in the body.

***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to