aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/allocator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src/allocator.cc')
-rw-r--r--libstdc++-v3/src/allocator.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/src/allocator.cc b/libstdc++-v3/src/allocator.cc
index c2f0847..da1ee49 100644
--- a/libstdc++-v3/src/allocator.cc
+++ b/libstdc++-v3/src/allocator.cc
@@ -46,11 +46,13 @@ namespace __gnu_cxx
template
void __mt_alloc<char>::_S_init();
+#ifdef __GTHREADS
template
size_t __mt_alloc<char>::_S_get_thread_id();
template
void __mt_alloc<char>::_S_thread_key_destr(void*);
+#endif
// Static members of __pool_alloc.
template class __pool_alloc<true, 0>;