Browse Source

altstack: fix _info test.

Since we use -Wundef by default, ccanlint gets upset if __X86_64__ isn't set.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 10 years ago
parent
commit
2bf37a605e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ccan/altstack/_info

+ 1 - 1
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");