From: <no...@so...> - 2002-08-17 07:22:17
|
Bugs item #596369, was opened at 2002-08-17 09:22 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=596369&group_id=2435 Category: w32api Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jan Hlavatý (hlavac) Assigned to: Earnie Boyd (earnie) Summary: winsock2.h vs winsock.h conflict Initial Comment: I ran into this compiling OpenSSL 0.9.6g. winsock2.h gets included automatically with windows.h, which blocks any subsequent inclusion of winsock.h. OpenSSL 0.9.6g seems to make use of winsock 1.1 API. Although it includes winsock.h, WSACancelBlockingCall() prototype is not imported and link will fail because wrong calling convention is chosen. As a simple fix, please activate section of winsock2.h which includes these Winsock 1.1 functions (like WSACancelBlockingCall() ) and is disabled using #if 0 so that code that uses it will compile... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=596369&group_id=2435 |