]> www.infradead.org Git - users/sagi/libnvme.git/commitdiff
meson: use correct byteswap macro name
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 21 Oct 2021 01:44:18 +0000 (09:44 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Thu, 21 Oct 2021 08:31:34 +0000 (16:31 +0800)
We're declaring HAVE_BSWAP64, but ccan expects HAVE_BSWAP_64.

Fixes: bb84156 ("meson.build: Add ccan-required configuration macros")
Reported-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
meson.build

index 8251cf4f4c464123bc9cb0bdba9046dcc1cb03f2..ea7c51651586d1fed60ab44158c3ee84725259f6 100644 (file)
@@ -142,7 +142,7 @@ conf.set10(
     description: 'Is byteswap.h include-able?'
 )
 conf.set10(
-    'HAVE_BSWAP64',
+    'HAVE_BSWAP_64',
     cc.links(
         '''#include <byteswap.h>
             int main(void) {