HomeFreeBSD

Simplify the FreeBSD check using __FreeBSD__ compiler macro.

Description

Simplify the FreeBSD check using FreeBSD compiler macro.

Rather than rely on FreeBSD_version, defined in sys/param.h, use
FreeBSD__ defined by the compiler.

Reported by: emaste
MFC after: 1 week

Details

Provenance
cyAuthored on Feb 7 2021, 3:22 AM
Parents
rGd20f7a5a3da1: Simply FreeBSD check using __FreeBSD__ and remove OpenBSD
Branches
Unknown
Tags
Unknown