Date: Fri, 23 Mar 2012 00:24:23 -0400 From: Eitan Adler <lists@eitanadler.com> To: Yong Fan <yong.fan@exar.com> Cc: "drivers@FreeBSD.org" <drivers@freebsd.org> Subject: Re: How can I decide the kernel version? Message-ID: <CAF6rxgnGBkfcPKbwQck092nA%2BKBh9piG2OiwMavxPF7S-k8c4w@mail.gmail.com> In-Reply-To: <88AB8EB2D3F1D249AE07FAFFF17A396F0384CEF9AD@HZU1EXCH02.hq.exar.com> References: <88AB8EB2D3F1D249AE07FAFFF17A396F0384CEF9AD@HZU1EXCH02.hq.exar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 22, 2012 at 11:21 PM, Yong Fan <yong.fan@exar.com> wrote: > Hi all, > > How can I decide the kernel version? > In linux, I can use LINUX_VERSION_CODE and KERNEL_VERSION(x,y,z). > Does FreeBSD has such similar MACRO? __FreeBSD_version ? http://www.freebsd.org/doc/en/books/porters-handbook/book.html#FREEBSD-VERSIONS -- Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgnGBkfcPKbwQck092nA%2BKBh9piG2OiwMavxPF7S-k8c4w>