]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 325835: Use #if instead of #ifdef for __BSD_VISIBLE tests.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Jan 2018 18:22:41 +0000 (18:22 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 23 Jan 2018 18:22:41 +0000 (18:22 +0000)
commit1f8d5e0825e224bd1e2719064e29e4c6986e9a44
treed027c6308386a6aa0c8c30442432bc44d30fb710
parentf081423c7a68d7ef073d6eef0db04efa8c3e366e
MFC 325835: Use #if instead of #ifdef for __BSD_VISIBLE tests.

__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

git-svn-id: svn://svn.freebsd.org/base/stable/10@328294 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sys/aio.h
sys/sys/shm.h