[asio] INET_ADDRSTRLEN undeclared under cygwin

21 Nov
2010
21 Nov
'10
7:53 p.m.
Hello, I build my project under Cygwin, and get errors like this: .../boost/asio/detail/socket_types.hpp:125: error: 'INET_ADDRSTRLEN' was not declared in this scope I see that INET_ADDRSTRLEN is defined in /usr/include/cygwin/in.h , but asio doesn't include it. Besides, there're some more undefined macros, which are defined in /usr/include/cygwin/in6.h Meanwhile I apply an ad-hoc solution, but I'm wondering if someone else encountered this issue and what would be the right solution. Thanks.
5208
Age (days ago)
5208
Last active (days ago)
0 comments
1 participants
participants (1)
-
Igor R