diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 16:59:05 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 16:59:05 +0000 |
commit | cb052e4f6cc723bc408f32963e921705f3286c94 (patch) | |
tree | d6f6172f7cff8f5c44f9ae557a525e4b1baf277b /lib/strtol.c | |
parent | 28edf6a75ef4f95e18da5b506bdcf122a53ca3ec (diff) | |
download | coreutils-cb052e4f6cc723bc408f32963e921705f3286c94.tar.xz |
Update from gnulib.
Diffstat (limited to 'lib/strtol.c')
-rw-r--r-- | lib/strtol.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/strtol.c b/lib/strtol.c index eda2d2699..cdcd15a31 100644 --- a/lib/strtol.c +++ b/lib/strtol.c @@ -208,11 +208,6 @@ # define TOUPPER(Ch) towupper (Ch) # endif #else -# if defined STDC_HEADERS || (!defined isascii && !defined HAVE_ISASCII) -# define IN_CTYPE_DOMAIN(c) 1 -# else -# define IN_CTYPE_DOMAIN(c) isascii(c) -# endif # define L_(Ch) Ch # define UCHAR_TYPE unsigned char # define STRING_TYPE char @@ -221,9 +216,9 @@ # define ISALPHA(Ch) __isalpha_l ((Ch), loc) # define TOUPPER(Ch) __toupper_l ((Ch), loc) # else -# define ISSPACE(Ch) (IN_CTYPE_DOMAIN (Ch) && isspace (Ch)) -# define ISALPHA(Ch) (IN_CTYPE_DOMAIN (Ch) && isalpha (Ch)) -# define TOUPPER(Ch) (IN_CTYPE_DOMAIN (Ch) ? toupper (Ch) : (Ch)) +# define ISSPACE(Ch) isspace (Ch) +# define ISALPHA(Ch) isalpha (Ch) +# define TOUPPER(Ch) toupper (Ch) # endif #endif |