Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 1997 00:11:13 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        eivind@dimaga.com (Eivind Eklund)
Cc:        hackers@freebsd.org
Subject:   Re: <net/if_var.h>
Message-ID:  <Mutt.19970131001113.j@uriah.heep.sax.de>
In-Reply-To: <3.0.32.19970130220618.00aea190@dimaga.com>; from Eivind Eklund on Jan 30, 1997 22:06:20 %2B0100
References:  <3.0.32.19970130220618.00aea190@dimaga.com>

next in thread | previous in thread | raw e-mail | index | archive | help
As Eivind Eklund wrote:

> When was this introduced, and is there any way for me to check if it is
> present?  (BSD > xxxx, for instance?)

#include <osreldate.h>

#if __FreeBSD_version >= 199702
# define NEED_NET_IF_VAR_H
#endif

That catches some -current systems before the change, but that
shouldn't matter.  It doesn't hit 2.2 machines, since they are frozen
to 199701 (even though it's obvious that we won't ship 2.2R by
January).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970131001113.j>