Indy 9.0.17 - Ambiguity between 'fd_set' error ...


2005-04-11 04:58:42 PM
cppbuilder109
Hi all
I have installed Indy 9.0.17 in a C++Builder 6 installation without
its usual Indy 8. I have have inserted _WINSOCKAPI_ and
WIN32_LEAN_AND_MEAN as conditionals in my project as seen advised in
other postings. Then when I add a Indy component, let say IdHttp, I
get the following error:
...
[C++ Error] WinSock.hpp(60): E2257 , expected
[C++ Error] WinSock.hpp(64): E2257 , expected
[C++ Error] winsock2.h(114): E2015 Ambiguity between 'fd_set' and
'Winsock::fd_set'
[C++ Error] winsock2.h(114): E2015 Ambiguity between 'fd_set' and
'Winsock::fd_set'...
What do I miss?
Thanks in advanced