I am a libevent newbye so it is possible that the fault is on my side ... but it seems to me that something should be changed in the header files in order to be able to compile libevent with Xcode. For example u_char definition is missed so the following lines should be added to events.h:

#if defined(__APPLE__)
typedef unsigned char u_char;
#endif

and what about _time.h?
Is is really necessary or can I use the standard one?
I receive an error: "redefinition of struct timeval" when I try to compile it.

Any help?
---
Marco Bambini
http://www.sqlabs.net
http://www.sqlabs.net/blog/
http://www.sqlabs.net/realsqlserver/



_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to