Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Feb 2021 07:30:41 -0800
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        Cy Schubert <cy@freebsd.org>, src-committers <src-committers@freebsd.org>,  dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 10990cb46027 - main - Simplify FreeBSD check.
Message-ID:  <202102061530.116FUfla008751@slippy.cwsent.com>
In-Reply-To: <CAPyFy2C6s2%2BM5jaVrxBV40kb0JTe7Luq7uEmKxzLENRtFooJvA@mail.gmail.com>
References:  <202102060240.1162eHYJ012657@gitrepo.freebsd.org>  <CAPyFy2C6s2%2BM5jaVrxBV40kb0JTe7Luq7uEmKxzLENRtFooJvA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <CAPyFy2C6s2+M5jaVrxBV40kb0JTe7Luq7uEmKxzLENRtFooJvA@mail.gmail.c
om>
, Ed Maste writes:
> On Fri, 5 Feb 2021 at 21:40, Cy Schubert <cy@freebsd.org> wrote:
> >
> > -#if (__FreeBSD_version >= 300000)
> > +#ifdef __FreeBSD_version
>
> FWIW I think #ifdef __FreeBSD__ is the typical spelling of this test,
> and it is built in to the compiler.

Thanks. I'll change that.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.





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