xjdrew / levent

lua concurrency library based on libev, similar with gevent
MIT License
190 stars 61 forks source link

vs2015编译失败 #34

Open wjlin opened 4 years ago

wjlin commented 4 years ago

Severity Code Description Project File Line Suppression State Error C2059 syntax error: 'type' levent ..\levent\deps\libev\ev.c 1946

static void noinline ecb_cold array_realloc (int elem, void base, int cur, int cnt) 改成 noinline static void ecb_cold array_realloc (int elem, void base, int cur, int cnt) 好像返回值是void的时候__declspec (noinline)必须在 void的前面

xjdrew commented 4 years ago

这个时libev代码,可以试着给libev提个pr