[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#788709: FTBFS on kfreebsd-* open.c:46:28: error: '__FreeBSD_version' undeclared (first use in this function)



Hi folks!

Michael Biebl <biebl@debian.org> writes:
> open.c: In function 'glibtop_open_s':
> open.c:46:28: error: '__FreeBSD_version' undeclared (first use in this function)
>   server->os_version_code = __FreeBSD_version;

Do we have some concept on how to handle those? In cases where it's a
simple comparison I tend to just "unfold" the thing (tends to be a check
on whether it's a kernel newer than 6 or 7 so ..

In this case I'm not so sure?

  Christoph


Reply to: