diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-06-06 18:16:22 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-06-06 18:16:22 +0000 |
commit | 3d7e32d28dc9962e9efc1c317c5b44b5b2df3008 (patch) | |
tree | 5bbac0946f27f20dfefbf54ce2adb84a58b8121c /src/ctype | |
parent | 7e816a6487932cbb3cb71d94b609e50e81f4e5bf (diff) | |
download | musl-3d7e32d28dc9962e9efc1c317c5b44b5b2df3008.tar.gz musl-3d7e32d28dc9962e9efc1c317c5b44b5b2df3008.tar.bz2 musl-3d7e32d28dc9962e9efc1c317c5b44b5b2df3008.tar.xz musl-3d7e32d28dc9962e9efc1c317c5b44b5b2df3008.zip |
add macro version of ctype.h isascii function
presumably internal code (ungetwc and fputwc) was written assuming a
macro implementation existed; otherwise use of isascii is just a
pessimization.
Diffstat (limited to 'src/ctype')
-rw-r--r-- | src/ctype/isascii.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c index 3af0a10d..54ad3bf0 100644 --- a/src/ctype/isascii.c +++ b/src/ctype/isascii.c @@ -1,4 +1,5 @@ #include <ctype.h> +#undef isascii int isascii(int c) { |