diff options
author | unknown <jimw@mysql.com> | 2005-07-18 18:04:52 -0700 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-07-18 18:04:52 -0700 |
commit | 1e3be5e98ab82c9ab57e7b6e2ea67d4c2e38f88e (patch) | |
tree | fa67b28487ba02e61e89d6ec639d7684c1f5674f /cmd-line-utils/readline/chardefs.h | |
parent | cdf03871061e2131153f4cf6ddcbc25db4108781 (diff) | |
parent | 42d10743d14ac79b4cf8a1feabb724e1c8355d4f (diff) | |
download | mariadb-git-1e3be5e98ab82c9ab57e7b6e2ea67d4c2e38f88e.tar.gz |
Merge mysqldev@production.mysql.com:jimw/mysql-5.0-readline
into mysql.com:/home/jimw/my/mysql-5.0-readline
Diffstat (limited to 'cmd-line-utils/readline/chardefs.h')
-rw-r--r-- | cmd-line-utils/readline/chardefs.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |