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. +Thomas ------------------------------------------------------------------------------ Download Intel® 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
