about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index 2981f9a83..055b8bac4 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -62,6 +62,7 @@ typedef wint_t   ZLE_INT_T;
 #define ZS_zarrdup wcs_zarrdup
 #define ZS_width wcslen
 #define ZS_strchr wcschr
+#define ZS_memchr wmemchr
 
 /*
  * Functions that operate on a metafied string.
@@ -108,6 +109,7 @@ typedef int ZLE_INT_T;
 #define ZS_zarrdup zarrdup
 #define ZS_width ztrlen
 #define ZS_strchr strchr
+#define ZS_memchr memchr
 
 /*
  * Functions that operate on a metafied string.