summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/thread
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-18 21:37:53 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-18 21:37:53 +0000
commit7f658b1eb3da99fe475f425ccfe03c619f8240fc (patch)
treed4aa8c9726bee826f3a15f7c657431cd080c75d7 /libstdc++-v3/testsuite/thread
parent72794e1fc76466e763e6631676dec3dba5fb0349 (diff)
downloadgcc-7f658b1eb3da99fe475f425ccfe03c619f8240fc.tar.gz
* testsuite/thread/pthread1.cc: Remove needless workaround
for FreeBSD 5. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58289 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/thread')
-rw-r--r--libstdc++-v3/testsuite/thread/pthread1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/thread/pthread1.cc b/libstdc++-v3/testsuite/thread/pthread1.cc
index 71afefcc758..eaa634d0bd5 100644
--- a/libstdc++-v3/testsuite/thread/pthread1.cc
+++ b/libstdc++-v3/testsuite/thread/pthread1.cc
@@ -124,7 +124,7 @@ main (int argc, char** argv)
{
pthread_join (prod[i], NULL);
pthread_join (cons[i], NULL);
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) && __FreeBSD__ < 5
// These lines are not required by POSIX since a successful
// join is suppose to detach as well...
pthread_detach (prod[i]);