summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/testsuite/thread/pthread5.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/thread/pthread5.cc')
-rw-r--r--libstdc++-v3/testsuite/thread/pthread5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/thread/pthread5.cc b/libstdc++-v3/testsuite/thread/pthread5.cc
index 955f3785a39..b92ab8d4067 100644
--- a/libstdc++-v3/testsuite/thread/pthread5.cc
+++ b/libstdc++-v3/testsuite/thread/pthread5.cc
@@ -32,7 +32,7 @@
// configured for the port, then it is picked up free from STL headers.
#if __GTHREADS
-#ifdef _GLIBCPP_HAVE_UNISTD_H
+#ifdef _GLIBCXX_HAVE_UNISTD_H
#include <unistd.h> // To test for _POSIX_THREAD_PRIORITY_SCHEDULING
#endif
OpenPOWER on IntegriCloud