diff options
author | Bruno Haible <bruno@clisp.org> | 2006-10-11 12:39:18 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-10-11 12:39:18 +0000 |
commit | ea5d548fb41efb918c2f128be43b01e744f8d113 (patch) | |
tree | 7e393f10bcd8cf2419d10f88af1a4cc79d59e6b8 /lib/c-ctype.c | |
parent | e7f399c2b8fbd8a6fc0424d7f3d821ff84e38168 (diff) | |
download | gnulib-ea5d548fb41efb918c2f128be43b01e744f8d113.tar.gz |
Make it possible to #define c_isascii etc. to aliases.
Diffstat (limited to 'lib/c-ctype.c')
-rw-r--r-- | lib/c-ctype.c | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/lib/c-ctype.c b/lib/c-ctype.c index b9e85d61e0..36569b818e 100644 --- a/lib/c-ctype.c +++ b/lib/c-ctype.c @@ -1,6 +1,6 @@ /* Character handling in C locale. - Copyright 2000-2003 Free Software Foundation, Inc. + Copyright 2000-2003, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,25 +16,12 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <config.h> + /* Specification. */ +#define NO_C_CTYPE_MACROS #include "c-ctype.h" -#undef c_isalnum -#undef c_isalpha -#undef c_isascii -#undef c_isblank -#undef c_iscntrl -#undef c_isdigit -#undef c_islower -#undef c_isgraph -#undef c_isprint -#undef c_ispunct -#undef c_isspace -#undef c_isupper -#undef c_isxdigit -#undef c_tolower -#undef c_toupper - /* The function isascii is not locale dependent. Its use in EBCDIC is questionable. */ bool |