-
Peter Maydell authored
The function popcountl() in hbitmap.c is effectively a reimplementation of what host-utils.h provides as ctpopl(). Use ctpopl() directly; this fixes a failure to compile on NetBSD (whose strings.h erroneously exposes a system popcountl() which clashes with this one). Reported-by:
Martin Husemann <martin@duskware.de>
Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>Peter Maydell authoredThe function popcountl() in hbitmap.c is effectively a reimplementation of what host-utils.h provides as ctpopl(). Use ctpopl() directly; this fixes a failure to compile on NetBSD (whose strings.h erroneously exposes a system popcountl() which clashes with this one). Reported-by:
Martin Husemann <martin@duskware.de>
Reviewed-by:
Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Loading