Browse Source

configurator: fix HAVE_UCONTEXT test on Ubuntu 16.04.

Seems to want more stack.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 9 years ago
parent
commit
2953f5147b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/configurator/configurator.c

+ 1 - 1
tools/configurator/configurator.c

@@ -323,7 +323,7 @@ static struct test tests[] = {
 	  NULL, NULL,
 	  NULL, NULL,
 	  "#include <ucontext.h>\n"
 	  "#include <ucontext.h>\n"
 	  "static int x = 0;\n"
 	  "static int x = 0;\n"
-	  "static char stack[1024];\n"
+	  "static char stack[2048];\n"
 	  "static ucontext_t a, b;\n"
 	  "static ucontext_t a, b;\n"
 	  "static void fn(void) {\n"
 	  "static void fn(void) {\n"
 	  "	x |= 2;\n"
 	  "	x |= 2;\n"