On Fri, Feb 5, 2010 at 10:30 AM, Shiqing Fan <f...@hlrs.de> wrote:
>
> Hi,
>
> When using libevent 1.4.13 in another project on Windows, we found some
> structure are redefined in _libevent_time.h and winsock2.h, for example
> 'struct timeval'.
>
> I made a patch to solve this problem, but I'm not sure if it's correct to
> exclude _libevent_time.h on Windows.

Something fishy is going on here.  For one thing, most of the files
you changed should never actually get built for windows: devpoll.c,
poll.c, kqueue.c, and epoll.c all refer to backend mechanisms that
don't exist on windows.

Other than that, I'm trying to reproduce the bug, but I'm not having
much success.  For me, 1.4.13 builds fine on Windows under mingw, and
the current 1.4.x development version in git version builds fine on
Windows under mingw, or with VC++ and nmake.   Since you patched
configure, I'm guessing you're on some version of mingw or maybe
cygwin?  If so, which version?
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://lists.monkey.org:8080/listinfo/libevent-users

Reply via email to