Re: [Libevent-users] libevent-2.0.18-stable.tar.gz can not build on win32

2012-03-29 Thread Savg He
yes, I put "# define int mode_t" modified "# define mode_t int", it compiled successfully, no errors. Also, forgive my English, I use google the translate. 在 2012年3月30日 上午3:18,Sebastian Hahn 写道: > > On Mar 28, 2012, at 5:36 PM, Nick Mathewson wrote: >> 2012/3/28 Sebastian Hahn : >>> +#define int

Re: [Libevent-users] libevent-2.0.18-stable.tar.gz can not build on win32

2012-03-28 Thread Savg He
c(1093) : error C2224: left of '.ai_family' must have struct/union type evutil.c(1094) : error C2224: left of '.ai_flags' must have struct/union type evutil.c(1102) : warning C4133: 'function' : incompatible types - from 'int *' t o 'const addrinfo *&#x