diff options
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h index 508179a..f327627 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 |