diff options
author | Steve Ellcey <sje@cup.hp.com> | 2001-03-14 04:32:44 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2001-03-13 21:32:44 -0700 |
commit | 816dc708d2ad67055eaab53dd3072b29c9bea383 (patch) | |
tree | 2a61c1e4304edc1c21834b500c0dc22e4e1fd985 | |
parent | 6e24b709a11b93f2a4fdbbfc662d32e7ba006ebf (diff) | |
download | gcc-816dc708d2ad67055eaab53dd3072b29c9bea383.zip gcc-816dc708d2ad67055eaab53dd3072b29c9bea383.tar.gz gcc-816dc708d2ad67055eaab53dd3072b29c9bea383.tar.bz2 |
ctype_base.h: Make ctype masks match HP-UX ctype.h header file.
* libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
match HP-UX ctype.h header file.
From-SVN: r40451
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/config/os/hpux/bits/ctype_base.h | 22 |
2 files changed, 16 insertions, 11 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d2e3075..a0ce102 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-03-13 Steve Ellcey <sje@cup.hp.com> + + * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks + match HP-UX ctype.h header file. + 2001-03-13 Andris Pavenis <pavenis@latnet.lv> * config/djgpp/bits/ctype_noninline.h: Fix typo and remove diff --git a/libstdc++-v3/config/os/hpux/bits/ctype_base.h b/libstdc++-v3/config/os/hpux/bits/ctype_base.h index d11e1e5..12ef91e 100644 --- a/libstdc++-v3/config/os/hpux/bits/ctype_base.h +++ b/libstdc++-v3/config/os/hpux/bits/ctype_base.h @@ -41,15 +41,15 @@ // NB: Offsets into ctype<char>::_M_table force a particular size // on the mask type. Because of this, we don't use an enum. typedef unsigned int mask; - static const mask upper = 1 << 0; - static const mask lower = 1 << 1; - static const mask alpha = 1 << 2; - static const mask digit = 1 << 3; - static const mask xdigit = 1 << 4; - static const mask space = 1 << 5; - static const mask print = 1 << 6; - static const mask graph = 1 << 7; - static const mask cntrl = 1 << 8; - static const mask punct = 1 << 9; - static const mask alnum = 1 << 10; + static const mask upper = _ISUPPER; + static const mask lower = _ISLOWER; + static const mask alpha = _ISALPHA; + static const mask digit = _ISDIGIT; + static const mask xdigit = _ISXDIGIT; + static const mask space = _ISSPACE; + static const mask print = _ISPRINT; + static const mask graph = _ISGRAPH; + static const mask cntrl = _ISCNTRL; + static const mask punct = _ISPUNCT; + static const mask alnum = _ISALNUM; }; |