diff options
| -rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
| -rw-r--r-- | libstdc++-v3/config/os/hpux/bits/os_defines.h | 3 | ||||
| -rw-r--r-- | libstdc++-v3/include/c_std/std_cctype.h | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fd02dba..8015fa6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ + PR libstdc++/6501 + * include/c_std/std_cctype.h: Include bits/c++config.h. + * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define. + 2002-04-30 Benjamin Kosnik <bkoz@redhat.com> * include/ext/stdio_filebuf.h: New file. diff --git a/libstdc++-v3/config/os/hpux/bits/os_defines.h b/libstdc++-v3/config/os/hpux/bits/os_defines.h index 4bd2e05..c8a6c9d 100644 --- a/libstdc++-v3/config/os/hpux/bits/os_defines.h +++ b/libstdc++-v3/config/os/hpux/bits/os_defines.h @@ -39,6 +39,9 @@ #define __glibcpp_wchar_t_is_signed false +// Use macro form of ctype functions to ensure __SB_masks is defined. +#define _SB_CTYPE_MACROS 1 + /* HP-UX, for reasons unknown choose to use a different name for the string to [unsigned] long long conversion routines. diff --git a/libstdc++-v3/include/c_std/std_cctype.h b/libstdc++-v3/include/c_std/std_cctype.h index 68bd182..4700809 100644 --- a/libstdc++-v3/include/c_std/std_cctype.h +++ b/libstdc++-v3/include/c_std/std_cctype.h @@ -45,6 +45,7 @@ #pragma GCC system_header +#include <bits/c++config.h> #include <ctype.h> // Get rid of those macros defined in <ctype.h> in lieu of real functions. |
