cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: fd_set for Win compile using Mingw32

From: Jamie Lokier <jamie_at_shareable.org>
Date: Mon, 29 Jun 2009 11:38:20 +0100

Daniel Stenberg wrote:
> On Mon, 29 Jun 2009, jvp wrote:
>
> >However when compiling for Windows with Mingw32 I get an error which
> >basically sounds like fd_set hasnt been declared prior to declaring this
> >line. I have searched through all the .h files and cant recognise a define
> >anywhere.
>
> fd_set is supposedly a typedef. And it is weird that others can build curl
> and libcurl fine with mingw without getting this problem.

Fwiw, on Windows fd_set comes from <winsock.h> and <winsock2.h>.

-- Jamie
Received on 2009-06-29