On Monday 01 March 2004 18:55, Juan Lang wrote:
additionally link to ws2_32 it builds on MinGW as well as Wine.
You have to link to ws2_32? That's interesting, I didn't. I submitted a patch, minus that bit.
Yes you need to, I have tested this. You don't need it on Wine because there you somehow get inet_addr indirectly, but on MinGW (and MSVC) you sure need it otherwise it won't build.
MinGW and MSVC versions of winsock2.h have the defines, so I guess we need to add them. Attached patch does so.
Could you submit to wine-patches? Thanks!
I intended to do so but I addressed it to wine-devel twice, so here it is again. This fixes cross compilation of wsock32.
-Hans
Changelog: add protocol type constants.