Use #if instead of #ifdef for __BSD_VISIBLE tests.
ClosedPublic

Authored by jhb on Mon, Nov 6, 7:12 PM.

Details

Summary

__BSD_VISIBLE is always defined and it's value instead needs to be
tested via #if to determine if FreeBSD-specific APIs should be
exposed.

PR: 196226

Test Plan
  • will request an exp-run

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
jhb created this revision.Mon, Nov 6, 7:12 PM
This revision was automatically updated to reflect the committed changes.