pthread5.cc: Include <unistd.h> if _GLIBCPP_HAVE_UNISTD_H is defined.
authorJason Thorpe <thorpej@wasabisystems.com>
Tue, 29 Oct 2002 01:10:52 +0000 (01:10 +0000)
committerJason Thorpe <thorpej@gcc.gnu.org>
Tue, 29 Oct 2002 01:10:52 +0000 (01:10 +0000)
commit17a7afe04b966028996bcb5a9d1bce29c2093b95
tree5d947d7f6decd27e46f109202a683b65335022f2
parent761642ea46a9a232176be518d2b0fcdd3312487a
pthread5.cc: Include <unistd.h> if _GLIBCPP_HAVE_UNISTD_H is defined.

* testsuite/thread/pthread5.cc: Include <unistd.h>
if _GLIBCPP_HAVE_UNISTD_H is defined.
(main): Only use pthread_attr_setscope if
_POSIX_THREAD_PRIORITY_SCHEDULING is defined.

From-SVN: r58608
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/thread/pthread5.cc