Date: Sun, 30 Mar 1997 11:07:49 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: freebsd-questions@freebsd.org Subject: Telling 2.2 from 3.0 Message-ID: <199703301907.LAA20441@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
What is the "correct" way to tell which version of FreeBSD you're building on using #ifdef's in your C source code? Specifically, I have the problem that a file requires #include <net/if_var.h> when building under 3.0, but not when building under 2.2 (the file doesn't exist under 2.2). Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703301907.LAA20441>