Hi Henrik,

At 16.45 03/08/2005, Henrik Nordstrom wrote:

On Tue, 12 Jul 2005, Serassio Guido wrote:

The problem is clear.
But what about a simple workaround like the following patch ?

+#ifdef _SQUID_SOLARIS_
+#define SOLARIS 1
+#undef free
+#undef sync
+#endif
#include <ip_compat.h>

Looks reasonable as a temporary workaround, but the real problem of in which order the include files are referenced should be fixed. For now add a comment just why this is required and I am fine with it.

I have just published on Bugzilla this workaround patch for Squid 2.5 with comments and I have applied a fix to Squid 3.0 for the handling of fixed or not fixed gcc Solaris headers.

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: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to