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 ?
Regards
Guido
-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:32 MST