cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: fd_set for Win compile using Mingw32

From: jvp <jvp_at_compu-weigh.com.au>
Date: Tue, 30 Jun 2009 08:36:32 +1000

Hi all

>> 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
>
>
That explains why I couldnt find it, it is in th Mingw\Include directory.
As son as I included it I got hundreds of Duplicate definitions to sort out.

Regards
Jan van de Poll
Received on 2009-06-30