about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 e002c1527..be6976a31 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -72,6 +72,7 @@ typedef wint_t   ZLE_INT_T;
 #define ZC_toupper towupper
 
 #define LASTFULLCHAR	lastchar_wide
+#define LASTFULLCHAR_T  ZLE_INT_T
 
 #else  /* Not MULTIBYTE_SUPPORT: old single-byte code */
 
@@ -130,6 +131,7 @@ static inline int ZS_strncmp(ZLE_STRING_T s1, ZLE_STRING_T s2, size_t l)
 #define ZC_toupper tuupper
 
 #define LASTFULLCHAR	lastchar
+#define LASTFULLCHAR_T	int
 
 #endif