Commit b744da8c authored by Rusty Russell's avatar Rusty Russell

generator: don't even try to compile if !HAVE_UCONTEXT.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 92de5921
......@@ -63,6 +63,14 @@ int main(int argc, char *argv[])
return 0;
}
if (strcmp(argv[1], "ported") == 0) {
#if HAVE_UCONTEXT
printf("\n");
#else
printf("Needs ucontext support\n");
#endif
}
if (strcmp(argv[1], "testdepends") == 0) {
printf("ccan/str\n");
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment