diff options
author | Roland McGrath <roland@gnu.org> | 1995-03-10 05:01:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-03-10 05:01:07 +0000 |
commit | 40deae084780af51458714b5d0c5a88787c8fcd1 (patch) | |
tree | fc8c0db5f5181b5c93626f0eabfef849779fd7b1 /ctype | |
parent | ff3d7ed36ae26261cc1c76e5f03ee053d65f9229 (diff) | |
download | glibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar glibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar.gz glibc-40deae084780af51458714b5d0c5a88787c8fcd1.tar.bz2 glibc-40deae084780af51458714b5d0c5a88787c8fcd1.zip |
* locale/categories.def (LC_CTYPE): Merge CLASS_EB and CLASS_EL
into just CLASS. Add standard/optional flag to all items.
* locale/localeinfo.h (_NL_CURRENT_DEFINE): Fix typo.
* ctype/ctype.h [__BYTE_ORDER == __LITTLE_ENDIAN] (_ISbit):
Rearrange defn to satisfy compiler.
* locale/localeinfo.h: Declare _nl_current.
Diffstat (limited to 'ctype')
-rw-r--r-- | ctype/ctype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctype/ctype.h b/ctype/ctype.h index c9129f08ec..025373c381 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -39,7 +39,7 @@ __BEGIN_DECLS #if __BYTE_ORDER == __BIG_ENDIAN #define _ISbit(bit) (1 << bit) #else /* __BYTE_ORDER == __LITTLE_ENDIAN */ -#define _ISbit(bit) ((1 << bit) << (bit < 8 ? 8 : -8)) +#define _ISbit(bit) (bit < 8 ? ((1 << bit) << 8) : ((1 << bit) >> 8)) #endif enum |