tags:

views:

8

answers:

0

I have the source for a cross-platform library. It compiles fine under MSVC but I'd like to compile it under MinGW.

The MinGW winsock2.h does not contain a definition for the defintion for struct ip_mreq, which is found in Windows' SDK WinSock.h file.

What is an elegant way to go about fixing this (among other discrepancies yet to be discovered) so that I can compile the library under MinGW and gain brownie points for using open-source compilers?

Thanks!