]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
clone: use cgit_print_error_page() instead of html_status()
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 508179a7fccad8f26027a51b27ed5f2541a2e68a..f3276276fe2c258ae802d8c0351422affb1f468d 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -25,6 +25,9 @@
 #include <notes.h>
 #include <graph.h>
 
+/* Add isgraph(x) to Git's sane ctype support (see git-compat-util.h) */
+#undef isgraph
+#define isgraph(x) (isprint((x)) && !isspace((x)))
 
 /*
  * Dateformats used on misc. pages