Re: snmp ERROR macro patch (fixes conflict with WIN32 headers)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 19 May 2001 19:57:09 +0200

ERROR is deleted.

--
Henrik
Robert Collins wrote:
> 
> Changelog:
>     * include/snmp-internal.h: redefine ERROR to avoid a conflict with
> win32 headers.
> 
> "ERROR" is not used anywhere.
> Rob
> 
> Index: include/snmp-internal.h
> ===================================================================
> RCS file: /cvsroot/squid/squid/include/snmp-internal.h,v
> retrieving revision 1.2
> diff -u -r1.2 snmp-internal.h
> --- include/snmp-internal.h     2000/10/23 15:04:18     1.2
> +++ include/snmp-internal.h     2001/05/17 12:24:00
> @@ -33,9 +33,9 @@
>  #define SNMP_MAX_LEN       484
> 
>  #ifdef DEBUG
> -#define ERROR(string)  printf("%s(%d): %s\n",__FILE__, __LINE__,
> string);
> +#define SNMP_ERROR(string)     printf("%s(%d): %s\n",__FILE__,
> __LINE__, string);
>  #else
> -#define ERROR(string)
> +#define SNMP_ERROR(string)
>  #endif
> 
>  #endif /* _SNMP_INTERNAL_H_ */
Received on Sat May 19 2001 - 13:33:11 MDT

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