Date: Fri, 23 Mar 2012 18:48:24 +0800 From: Yong Fan <yong.fan@exar.com> To: Eitan Adler <lists@eitanadler.com> Cc: "drivers@FreeBSD.org" <drivers@freebsd.org> Subject: RE: How can I decide the kernel version? Message-ID: <88AB8EB2D3F1D249AE07FAFFF17A396F0384CEFAB8@HZU1EXCH02.hq.exar.com> In-Reply-To: <CAF6rxgnGBkfcPKbwQck092nA%2BKBh9piG2OiwMavxPF7S-k8c4w@mail.gmail.com> References: <88AB8EB2D3F1D249AE07FAFFF17A396F0384CEF9AD@HZU1EXCH02.hq.exar.com> <CAF6rxgnGBkfcPKbwQck092nA%2BKBh9piG2OiwMavxPF7S-k8c4w@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
__FreeBSD_version can work. Thanks Yongfan -----Original Message----- From: Eitan Adler [mailto:lists@eitanadler.com] Sent: Thursday, March 22, 2012 10:24 PM To: Yong Fan Cc: drivers@FreeBSD.org Subject: Re: How can I decide the kernel version? 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 The information and any attached documents contained in this message may be confidential and/or legally privileged. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, dissemination, or reproduction is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender immediately by return e-mail and destroy all copies of the original message.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88AB8EB2D3F1D249AE07FAFFF17A396F0384CEFAB8>
