the repository which powers this website
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 508179a7..f3276276 100644
--- 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