X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e09574bdf6cfbd21ff0a58a18f34d4a11db824d7..03de473354dc8c17a3b23a973b5cc67752ad20cb:/cgit.h diff --git a/cgit.h b/cgit.h index 508179a..f327627 100644 --- a/cgit.h +++ b/cgit.h @@ -25,6 +25,9 @@ #include #include +/* 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