--- embedaddon/mtr/asn.h 2013/07/21 23:43:42 1.1.1.1 +++ embedaddon/mtr/asn.h 2016/11/01 09:33:48 1.1.1.2 @@ -16,6 +16,18 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +// The autoconf system provides us with the NO_IPINFO define. +// Littering the code with #ifndef NO_IPINFO (double negative) +// does not benefit readabilty. So here we invert the sense of the +// define. +// +// Similarly, this include file should be included unconditially. +// It will evaluate to nothing if we don't need it. + +#ifndef NO_IPINFO +#define IPINFO + + extern int ipinfo_no; extern int ipinfo_max; extern int iiwidth_len; @@ -26,3 +38,4 @@ char *fmt_ipinfo(ip_t *addr); int get_iiwidth(void); int is_printii(void); +#endif