summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index db9ef4c..429d0a5 100644
--- a/util.h
+++ b/util.h
@@ -1,5 +1,7 @@
#include <time.h>
+#define ISUTF8(c) (((c) & 0xc0) != 0x80)
+
/* feed info */
struct feed {
char *name; /* feed name */