re PR libstdc++/6501 (ctype_noninline.h:45: `__SB_masks' undeclared)

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.

From-SVN: r52970
This commit is contained in:
John David Anglin 2002-04-30 19:50:29 +00:00
parent ed9d6ff9f1
commit 888d5eaa62
3 changed files with 8 additions and 0 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.