diff options
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index 7e08a8ad9..3671f90f3 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -33,20 +33,6 @@ typedef wchar_t *ZLE_STRING_T; typedef wint_t ZLE_INT_T; #define ZLE_CHAR_SIZE sizeof(wchar_t) -/* - * MB_CUR_MAX is the maximum number of bytes that a single wide - * character will convert into. We use it to keep strings - * sufficiently long. It should always be defined, but if it isn't - * just assume we are using Unicode which requires 6 characters. - * (Note that it's not necessarily defined to a constant.) - */ -#ifndef MB_CUR_MAX -#define MB_CUR_MAX 6 -#endif - -/* Convert character or string to wide character or string */ -#define ZWC(c) L ## c -#define ZWS(s) L ## s #define ZLEEOF WEOF @@ -96,10 +82,6 @@ typedef char *ZLE_STRING_T; typedef int ZLE_INT_T; #define ZLE_CHAR_SIZE sizeof(ZLE_CHAR_T) -/* Leave character or string as is. */ -#define ZWC(c) c -#define ZWS(s) s - #define ZLEEOF EOF /* Functions that operate on a ZLE_STRING_T. */ |