summaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-01 16:47:09 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1998-11-01 16:47:09 +0000
commit2cc7b4343ddf0a7c88e0250501f115d0a11b8e7d (patch)
tree31174b626c7391a4e76c2726dd8cf911f0d369be /libstdc++
parentdaf9ff6771eb7ad300078f980b8a39f3424d945f (diff)
downloadgcc-2cc7b4343ddf0a7c88e0250501f115d0a11b8e7d.tar.gz
* stl_alloc.h (default_alloc_template::_S_free_list): Don't
qualify _NFREELISTS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/stl/ChangeLog5
-rw-r--r--libstdc++/stl/stl_alloc.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/libstdc++/stl/ChangeLog b/libstdc++/stl/ChangeLog
index 848f74b61ec..e7ef0651370 100644
--- a/libstdc++/stl/ChangeLog
+++ b/libstdc++/stl/ChangeLog
@@ -1,3 +1,8 @@
+1998-11-01 Mark Mitchell <mark@markmitchell.com>
+
+ * stl_alloc.h (default_alloc_template::_S_free_list): Don't
+ qualify _NFREELISTS.
+
1998-10-11 Mark Mitchell <mark@markmitchell.com>
* stl_config.h (__SGI_STL_USE_AUTO_PTR_CONVERSIONS): Define.
diff --git a/libstdc++/stl/stl_alloc.h b/libstdc++/stl/stl_alloc.h
index 3a773b4bbc0..cc3b6817324 100644
--- a/libstdc++/stl/stl_alloc.h
+++ b/libstdc++/stl/stl_alloc.h
@@ -679,11 +679,7 @@ size_t __default_alloc_template<__threads, __inst>::_S_heap_size = 0;
template <bool __threads, int __inst>
__default_alloc_template<__threads, __inst>::_Obj* __VOLATILE
__default_alloc_template<__threads, __inst> ::_S_free_list[
-# ifdef __SUNPRO_CC
_NFREELISTS
-# else
- __default_alloc_template<__threads, __inst>::_NFREELISTS
-# endif
] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, };
// The 16 zeros are necessary to make version 4.1 of the SunPro
// compiler happy. Otherwise it appears to allocate too little