On Tue, Aug 14, 2012 at 3:59 PM, Greg Dove wrote: > Hi, a recent starter with mingw64....is it right or wrong to patch the > header files in mingw to get something to compile? > > I had to patch winsock2.h with some #defines from winsock.h to get ocaml to > compile under mingw64. Is that an ocaml problem or mingw64 problem? > > I had errors when building ocaml with undeclared SO_OPEN_TYPE and > SO_SYNCHRONOUS_NONALERT (iirc) > > anyhow I pasted (from winsock.h) into winsock2.h : >
No, this isn't correct. Simply #include <mswsock.h> to get the definitions. -- Earnie -- https://sites.google.com/site/earnieboyd ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
