Hi,
At 00.43 11/10/2005, Henrik Nordstrom wrote:
>On Tue, 11 Oct 2005, Andrey Shorin wrote:
>
>>>Index: squid-mswin.h
>>> #if defined(_MSC_VER) /* Microsoft C Compiler ONLY */
>>
>>>+/* No param.h on Windows */
>>>+#define MAXHOSTNAMELEN 256
>>>+
>
>>Guido, I'm not sure if this line belongs here regarding MinGW and
>>cygwin.
>
>Does Cygwin and MinGW also lack the MAXHOSTNAMELEN define in their headers?
Andrey: On MinGW it's not defined, when on Cygwin is defined to only 64.
But I don't like at all your solution.
We must set MAXHOSTNAMELEN to the real maximum value supported from
Winsocks2 interface.
So MAXHOSTNAMELEN should be set to a value specified from a Windows include.
I don't know if 256 is safe for Windows function calls.
>>Information from
>>http://www.acmeconsulting.it/pagine/opensource/squid/squidnt25.htm and
>>http://www.acmeconsulting.it/pagine/opensource/squid/buildenvironment.htm
>>is not enough for me.
>>In particular, among others, I'm not sure whether HEAD or nt-2_5
>>branch should be used.
>
>HEAD in the SourceForge/devel.squid-cache.org CVS tree should never be used.
>
>For building 2.5 with MS compilers the nt-2_5 branch should be used.
>
>Cygwin/MinGW I am not entirely sure about, but probably the nt-2_5
>branch is a good idea. At least for MinGW (cygwin can build the
>standard distribution).
nt-2_5 can be build in "native" mode using MinGW or MS VisualStudio
6, and in "emulation" mode with Cygwin.
The MinGW build process is exactly like Cygwin.
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Tue Oct 11 2005 - 11:08:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST