From: Jeremy Kerr Date: Thu, 21 Oct 2021 01:44:18 +0000 (+0800) Subject: meson: use correct byteswap macro name X-Git-Tag: v1.0-rc0~71^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=154532d2c89751cbdefd2f97cd6abcdb3c8cd2d9;p=users%2Fsagi%2Flibnvme.git meson: use correct byteswap macro name We're declaring HAVE_BSWAP64, but ccan expects HAVE_BSWAP_64. Fixes: bb84156 ("meson.build: Add ccan-required configuration macros") Reported-by: Klaus Jensen Signed-off-by: Jeremy Kerr --- diff --git a/meson.build b/meson.build index 8251cf4f..ea7c5165 100644 --- a/meson.build +++ b/meson.build @@ -142,7 +142,7 @@ conf.set10( description: 'Is byteswap.h include-able?' ) conf.set10( - 'HAVE_BSWAP64', + 'HAVE_BSWAP_64', cc.links( '''#include int main(void) {