On Sun, 2002-09-15 at 05:03, Guido Serassio wrote:
> Hi Henrik,
>
> Compiling SNMP on Windows there is a collision on the OPAQUE and OPTIONAL
> defines in snmplib/parse.c.
>
> I have found two solutions for this:
>
> 1 - add the following code at the bottom of parse.c:
>
> #ifdef _SQUID_MSWIN_
> #undef OPAQUE
> #undef OPTIONAL
> #endif
>
> 2 - Rename OPAQUE and OPTIONAL as SNMP_OPAQUE and SNMP_OPTIONAL, as in the
> attached patch file.
>
> What is Your opinion about ?
I've committed your patch. Thanks.
Adrian: re renaming all the constants, sure, but why worry at this
point? Ain't broken, ain't changing...
Rob
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:32 MST