On Mon, Aug 22, 2011 at 12:46:43PM -0500, Steve Huston wrote:
> FWIW, WSAPoll is not available on XP; it was introduced at Vista.

But the SOCKET type, which is used by WSAPoll as well as pre-existing
functions to retrieve data from a socket, does. And since what we're
looking for is what the appropriate return type on Windows should be,
I'm planning to do:

#ifdef WIN32
#include <winsock2.h>
typedef SOCKET QMF_IO_HANDLE;
#else
typedef int QMF_IO_HANDLE;
#endif

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgpTjyPzuYbEV.pgp
Description: PGP signature

Reply via email to