aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libutil/str_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 935c5116d..742d34184 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -439,4 +439,6 @@ rspamd_str_regexp_escape (const gchar *pattern, gsize slen,
*/
gchar * rspamd_str_make_utf_valid (const gchar *src, gsize slen, gsize *dstlen);
+#define IS_ZERO_WIDTH_SPACE(uc) ((uc) == 0x200b || (uc) == 0x200c)
+
#endif /* SRC_LIBUTIL_STR_UTIL_H_ */