From 2bf37a605e2ad2cb7321cedea8739aa611e4b160 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 3 Feb 2016 13:31:44 +1030 Subject: [PATCH] altstack: fix _info test. Since we use -Wundef by default, ccanlint gets upset if __X86_64__ isn't set. Signed-off-by: Rusty Russell --- ccan/altstack/_info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccan/altstack/_info b/ccan/altstack/_info index 92bd6289..a33af2ce 100644 --- a/ccan/altstack/_info +++ b/ccan/altstack/_info @@ -123,7 +123,7 @@ int main(int argc, char *argv[]) return 0; if (strcmp(argv[1], "ported") == 0) { -#if __x86_64__ +#ifdef __x86_64__ printf("1\n"); #else printf("0\n"); -- 2.39.2