mingw compat note

Roger Pack rogerpack2005 at gmail.com
Tue Nov 11 06:35:08 CET 2008


As a note [in case there are followers], appears that for
configure.make
to work in a mingw environment,
ev_win32.c and event.h
both need (for some reason)

#include <sys/time.h>
#include <time.h>

at the top [for the timezone/timeval structs].

This overcomes compile errors similar to:

In file included from event.c:51:
event.h:115: warning: "struct timeval" declared inside parameter list
in mingw

Thanks!
-=R



More information about the libev mailing list