Re: SNMP compile collision on Windows

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 14 Sep 2002 20:09:27 -0600

On Sat, Sep 14, 2002, Guido Serassio wrote:
>
> 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 ?

The second, please. :-P

Whilst you're at it, is there any reason why you can't/shouldn't just
stick SNMP_ in front of all the other defines in that group?
What about turning it into an enum instead? :)

Adrian
Received on Sat Sep 14 2002 - 20:09:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:32 MST