From 40deae084780af51458714b5d0c5a88787c8fcd1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 10 Mar 1995 05:01:07 +0000 Subject: * 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. --- ctype/ctype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctype/ctype.h') 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 -- cgit 1.4.1