From 7cf58d1f86dbaeed7e88bda6a85b27db180875b2 Mon Sep 17 00:00:00 2001 From: "jimw@mysql.com" <> Date: Mon, 18 Jul 2005 17:22:38 -0700 Subject: Upgrade bundled readline to version 5.0. --- cmd-line-utils/readline/chardefs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cmd-line-utils/readline/chardefs.h') diff --git a/cmd-line-utils/readline/chardefs.h b/cmd-line-utils/readline/chardefs.h index a537be220b0..cb04c982343 100644 --- a/cmd-line-utils/readline/chardefs.h +++ b/cmd-line-utils/readline/chardefs.h @@ -77,7 +77,11 @@ # define isxdigit(c) (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F')) #endif -#define NON_NEGATIVE(c) ((unsigned char)(c) == (c)) +#if defined (CTYPE_NON_ASCII) +# define NON_NEGATIVE(c) 1 +#else +# define NON_NEGATIVE(c) ((unsigned char)(c) == (c)) +#endif /* Some systems define these; we want our definitions. */ #undef ISPRINT -- cgit v1.2.1