diff options
Diffstat (limited to 'libstdc++-v3/src/c++11/thread.cc')
-rw-r--r-- | libstdc++-v3/src/c++11/thread.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/src/c++11/thread.cc b/libstdc++-v3/src/c++11/thread.cc index 906cafa735a..7fa415b49d1 100644 --- a/libstdc++-v3/src/c++11/thread.cc +++ b/libstdc++-v3/src/c++11/thread.cc @@ -70,9 +70,9 @@ static inline int get_nprocs() namespace std _GLIBCXX_VISIBILITY(default) { - namespace + extern "C" { - extern "C" void* + static void* execute_native_thread_routine(void* __p) { thread::_Impl_base* __t = static_cast<thread::_Impl_base*>(__p); @@ -94,7 +94,7 @@ namespace std _GLIBCXX_VISIBILITY(default) return nullptr; } - } + } // extern "C" _GLIBCXX_BEGIN_NAMESPACE_VERSION |