Skip to content
Snippets Groups Projects
Commit 8f1603bd authored by Jonathan Gray's avatar Jonathan Gray Committed by Tom Rini
Browse files

bch: don't use __BSD_VISIBLE to test for fls


Commit 4ecc9883 assumes fls is in libc
if __BSD_VISIBLE is defined.  This appears to only be true on FreeBSD
and DragonFlyBSD.  OpenBSD defines __BSD_VISIBLE and does not have fls
in strings.h/libc.

Switch the test for __BSD_VISIBLE to one for __DragonFly__ and
__FreeBSD__ to unbreak the build on OpenBSD.

Signed-off-by: default avatarJonathan Gray <jsg@jsg.id.au>
parent e090579d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment