On Sun, Feb 21, 2010 at 11:36 PM, Thomas Anders <[email protected]
> wrote:

> Bart Van Assche wrote:
> > Have you considered adding that define in
> > include/net-snmp/system/solaris.h instead of snmplib/snmpIPBaseDomain.c
> > such that it is available in all Net-SNMP source files when compiling
> > Net-SNMP on Solaris ?
>
> I've followed the approach that was already used in
> snmplib/snmpTLSTCPDomain.c, snmplib/snmpDTLSUDPDomain.c and
> snmplib/snmpUDPDomain.c. I don't think the "#ifndef INADDR_NONE #define
> INADDR_NONE ..." safety guard is Solaris-specific by nature. It may well be
> moved to a common, OS-independent file, though.
>

If INADDR_NONE is moved to a common header file, it might be considered to
rename that constant to NETSNMP_INADDR_NONE.

Bart.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to