From: Rusty Russell Date: Wed, 3 Feb 2016 03:01:44 +0000 (+1030) Subject: altstack: fix _info test. X-Git-Url: https://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=2bf37a605e2ad2cb7321cedea8739aa611e4b160 altstack: fix _info test. Since we use -Wundef by default, ccanlint gets upset if __X86_64__ isn't set. Signed-off-by: Rusty Russell --- 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");