PR libstdc++/6501
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 19:50:29 +0000 (19:50 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 19:50:29 +0000 (19:50 +0000)
* include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52970 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/hpux/bits/os_defines.h
libstdc++-v3/include/c_std/std_cctype.h

index fd02dba..8015fa6 100644 (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.
index 4bd2e05..c8a6c9d 100644 (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.
 
index 68bd182..4700809 100644 (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.