blob: 470eea9c84e0b018cde1db81480f1016b2030f3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ck,v 1.1 2002/01/03 20:40:51 tron Exp $
--- ../gcc-2.95.3/libstdc++/stl/stl_alloc.h.orig Fri May 7 12:13:28 1999
+++ ../gcc-2.95.3/libstdc++/stl/stl_alloc.h Thu Jan 3 20:37:55 2002
@@ -1050,6 +1050,12 @@
#undef __PRIVATE
+#ifdef __GNUG__
+// instantiated in stlinst.cc
+extern template __malloc_alloc_template<0>;
+extern template __default_alloc_template<__NODE_ALLOCATOR_THREADS, 0>;
+#endif
+
#endif /* __SGI_STL_INTERNAL_ALLOC_H */
// Local Variables:
|