]> git.ozlabs.org Git - ccan/blobdiff - tools/configurator/configurator.c
str: fix tests on unsigned chars, and !HAVE_ISBLANK.
[ccan] / tools / configurator / configurator.c
index 7b9652be90ef096045ce1545f84b9c1afa5b05ec..b78b112f4a9f0b523de52a4b212bc12b17fa9fad 100644 (file)
@@ -116,6 +116,7 @@ static struct test tests[] = {
          "#include <unistd.h>\n"
          "static int func(void) { return getpagesize(); }" },
        { "HAVE_ISBLANK", DEFINES_FUNC, NULL,
+         "#define _GNU_SOURCE\n"
          "#include <ctype.h>\n"
          "static int func(void) { return isblank(' '); }" },
        { "HAVE_LITTLE_ENDIAN", INSIDE_MAIN|EXECUTE, NULL,