summaryrefslogtreecommitdiff
path: root/cmd-line-utils/readline/chardefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-line-utils/readline/chardefs.h')
-rw-r--r--cmd-line-utils/readline/chardefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-line-utils/readline/chardefs.h b/cmd-line-utils/readline/chardefs.h
index def3a111bd3..a184ab30acb 100644
--- a/cmd-line-utils/readline/chardefs.h
+++ b/cmd-line-utils/readline/chardefs.h
@@ -60,6 +60,7 @@
#define CTRL_CHAR(c) ((c) < control_character_threshold && (((c) & 0x80) == 0))
#define META_CHAR(c) ((c) > meta_character_threshold && (c) <= largest_char)
+#define META_CHAR_FOR_UCHAR(c) ((c) > meta_character_threshold)
#define CTRL(c) ((c) & control_character_mask)
#define META(c) ((c) | meta_character_bit)