]> git.ozlabs.org Git - ccan/blobdiff - ccan/str/debug.c
configure.h: HAVE_ISBLANK
[ccan] / ccan / str / debug.c
index 004a874f7c82778d93ff389d3b542ba0eb5ed9a6..9ef756766aa557b61e1ab4abeaaceba71900beaf 100644 (file)
@@ -24,11 +24,13 @@ int str_isascii(int i)
        return isascii(i);
 }
 
+#if HAVE_ISBLANK
 int str_isblank(int i)
 {
        assert(i >= -1 && i < 256);
        return isblank(i);
 }
+#endif
 
 int str_iscntrl(int i)
 {