From f4ea4c2defe95cd0fdd0f8ec83c1df09eec0904c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Tue, 15 Apr 2008 07:58:48 +0000 Subject: [PATCH] The thread start routine needs C linkage. This fixes a compilation error on Tru64/cxx. [SVN r44427] --- test/boost_has_pthreads.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/boost_has_pthreads.ipp b/test/boost_has_pthreads.ipp index 34374b61..6c4413ab 100644 --- a/test/boost_has_pthreads.ipp +++ b/test/boost_has_pthreads.ipp @@ -14,7 +14,7 @@ namespace boost_has_pthreads{ -void* thread_proc(void* arg) +extern "C" void* thread_proc(void* arg) { return arg; }