[Ecls-list] winsock.h or winsock2.h
Anton Vodonosov
avodonosov at yandex.ru
Thu Aug 28 18:55:56 UTC 2008
on Thursday, August 28, 2008, 9:35:42 PM Anton wrote:
> on Wednesday, August 27, 2008, 11:26:27 AM Juan wrote:
>> On Tue, Aug 26, 2008 at 2:36 AM, Anton Vodonosov <avodonosov at yandex.ru> wrote:
>>> After I've added #define WIN32_LEAN_AND_MEAN 1 at the
>>> top of ecl/config.h, usocket was compiled successfully.
>> Thanks, I have added this flag to ecl.h, just before loading windows.h
>> Juanjo
> Hello, thanks.
> But it has two site effects:
> - The timeval structure used in scr/c/time.d is declared in winsock.h
> - The WIN32_LEAN_AND_MEAN also prevents inclusion of shellapi.h where
> the CommandLineToArgvW function is declared (it is used in
> scr/c/main.d).
> With the patch below I have build ECL successfully.
No, it is not successful. The sockets module fails to build.
Trying to figure out the cause.
More information about the ecl-devel
mailing list