git: 10990cb46027 - main - Simplify FreeBSD check.
Cy Schubert
Cy.Schubert at cschubert.com
Sat Feb 6 15:30:46 UTC 2021
In message <CAPyFy2C6s2+M5jaVrxBV40kb0JTe7Luq7uEmKxzLENRtFooJvA at mail.gmail.c
om>
, Ed Maste writes:
> On Fri, 5 Feb 2021 at 21:40, Cy Schubert <cy at 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 at cschubert.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: https://FreeBSD.org
NTP: <cy at nwtime.org> Web: https://nwtime.org
The need of the many outweighs the greed of the few.
More information about the dev-commits-src-all
mailing list