about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-02-09 22:12:54 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-02-09 22:12:54 +0000
commit6698e6f676ac034dfa74c39d27b736695a70eba6 (patch)
tree4b2ed65b6355b67928369eef3dda69aa0b065f98 /Src/Zle
parent449014dda392ea9900ba243c93a4eab8eeef483d (diff)
downloadzsh-6698e6f676ac034dfa74c39d27b736695a70eba6.tar.gz
zsh-6698e6f676ac034dfa74c39d27b736695a70eba6.tar.xz
zsh-6698e6f676ac034dfa74c39d27b736695a70eba6.zip
Define ZS_memchr() as either wmemchr() or memchr().
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.