[systemd-devel] compile with clang broken

Lennart Poettering lennart at poettering.net
Fri Aug 15 03:21:30 PDT 2014


On Fri, 15.08.14 11:49, David Herrmann (dh.herrmann at gmail.com) wrote:

> If that still doesn't work, I guess we're left with your proposed
> solution below, or we add MAX_CONST() which just does (A > B)?A:B.

We could also just define MAX() differently if we detect we run on
LLVM. There must be some macro how one can detect that...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list