Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/8f1603bd78a31f52927d398f600e47e2452997a6 You should set ROOT_URL correctly, otherwise the web may not work correctly.

bch: don't use __BSD_VISIBLE to test for fls

Commit 4ecc988301 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: Jonathan Gray <jsg@jsg.id.au>
master
Jonathan Gray 8 years ago committed by Tom Rini
parent e090579d0a
commit 8f1603bd78
  1. 2
      lib/bch.c

@ -117,7 +117,7 @@ struct gf_poly_deg1 {
};
#ifdef USE_HOSTCC
#ifndef __BSD_VISIBLE
#if !defined(__DragonFly__) && !defined(__FreeBSD__)
static int fls(int x)
{
int r = 32;

Loading…
Cancel
Save