Open pangweiwei opened 7 years ago
We can not deal with the gethostbyname on OSX, the compatibility issue here is not enough, we will fix gethostbyname on OSX in future release.
环境: OS X: co_routine.cpp:676:33: error: use of undeclared identifier 'EPOLLRDNORM' 查了一下,EPOLLRDNORM 是sys/epoll.h 定义的宏,请问是不是暂时不支持MAC OS?还是说需要我们做修改呢?
fixed in commit 6eb80c7146003cb43d70053d9edd005625c1b292
get compile error on mac osx:
co_hook_sys_call.cpp:865:15: error: use of undeclared identifier 'gethostbyname_r' while (ret = gethostbyname_r(name, host, __co_hostbuf_wrap->buffer,
I can't find symbol 'gethostbyname_r' on whole proj.