summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-03 02:56:35 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-03 02:56:35 +0000
commit016523bb897c93ae63ac79d635c718f48f585353 (patch)
tree312c902f2915f3f4417183f378875392b9224389
parent9108458df9259e757ca85a891209e09ce0c9f592 (diff)
downloadppe42-gcc-016523bb897c93ae63ac79d635c718f48f585353.tar.gz
ppe42-gcc-016523bb897c93ae63ac79d635c718f48f585353.zip
* stl_config.h: Define __STL_HAS_WCHAR_T,
__STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES, __STL_NO_NAMESPACES and __STL_LONG_LONG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22203 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++/stl/ChangeLog6
-rw-r--r--libstdc++/stl/stl_config.h11
2 files changed, 14 insertions, 3 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog
index ad471c3bcd2..1039d633bce 100644
--- a/libstdc++/stl/ChangeLog
+++ b/libstdc++/stl/ChangeLog
@@ -1,3 +1,9 @@
+1998-09-03 Jason Merrill <jason@yorick.cygnus.com>
+
+ * stl_config.h: Define __STL_HAS_WCHAR_T,
+ __STL_MEMBER_TEMPLATE_CLASSES, __STL_HAS_NAMESPACES,
+ __STL_NO_NAMESPACES and __STL_LONG_LONG.
+
1998-09-02 Jason Merrill <jason@yorick.cygnus.com>
* algorithm alloc.h defalloc.h hash_map.h hash_set.h iterator
diff --git a/libstdc++/stl/stl_config.h b/libstdc++/stl/stl_config.h
index b1b5738d3a4..7cd60d8460d 100644
--- a/libstdc++/stl/stl_config.h
+++ b/libstdc++/stl/stl_config.h
@@ -146,6 +146,7 @@
# ifdef __GNUC__
# include <_G_config.h>
+# define __STL_HAS_WCHAR_T
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __STL_STATIC_TEMPLATE_MEMBER_BUG
# define __STL_NEED_TYPENAME
@@ -153,10 +154,11 @@
# else
# define __STL_CLASS_PARTIAL_SPECIALIZATION
# define __STL_FUNCTION_TMPL_PARTIAL_ORDER
-# define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
# define __STL_MEMBER_TEMPLATES
- // g++ 2.8.1 supports member template functions, but not member
- // template nested classes.
+# define __STL_MEMBER_TEMPLATE_CLASSES
+# define __STL_EXPLICIT_FUNCTION_TMPL_ARGS
+# define __STL_HAS_NAMESPACES
+# define __STL_NO_NAMESPACES
# endif
/* glibc pre 2.0 is very buggy. We have to disable thread for it.
It should be upgraded to glibc 2.0 or later. */
@@ -170,6 +172,9 @@
# ifdef __EXCEPTIONS
# define __STL_USE_EXCEPTIONS
# endif
+# ifndef __STRICT_ANSI__
+# define __STL_LONG_LONG
+# endif
# endif
# if defined(__SUNPRO_CC)
OpenPOWER on IntegriCloud