altstack: fix _info test.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 3 Feb 2016 03:01:44 +0000 (13:31 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 3 Feb 2016 03:01:44 +0000 (13:31 +1030)
Since we use -Wundef by default, ccanlint gets upset if __X86_64__ isn't set.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/altstack/_info

index 92bd628988d3be5a916baf8f3fba93df832fbbb1..a33af2cea802934cce4f5c6dd263ebde4fa382af 100644 (file)
@@ -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");