aboutsummaryrefslogtreecommitdiff
path: root/gcc/gthr.h
diff options
context:
space:
mode:
authorP.J. Darcy <darcypj@us.ibm.com>2004-09-23 20:57:25 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-09-23 20:57:25 +0000
commit512baaea75c050149b35fc3bd1c0cc8ed546f53a (patch)
tree751016d73a999419b8204b19a6606873284e8f19 /gcc/gthr.h
parent23fad16eb84f349ad63b4ea47ad16e4d2dfc8805 (diff)
downloadgcc-512baaea75c050149b35fc3bd1c0cc8ed546f53a.zip
gcc-512baaea75c050149b35fc3bd1c0cc8ed546f53a.tar.gz
gcc-512baaea75c050149b35fc3bd1c0cc8ed546f53a.tar.bz2
gthr-tpf.h: New file.
2004-09-23 P.J. Darcy <darcypj@us.ibm.com> gcc/ChangeLog: * gthr-tpf.h: New file. * config.gcc (s390x-ibm-tpf*): Add thread_file='tpf'. * gthr.h: Use gthr-tpf.h on TPF OS. libstdc++-v3/ChangeLog: * include/Makefile.am (thread_host_headers): Add gthr-tpf.h. Add rule to build ${host_builddir}/gthr-tpf.h. * include/Makefile.in: Regenerate. From-SVN: r87982
Diffstat (limited to 'gcc/gthr.h')
-rw-r--r--gcc/gthr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gthr.h b/gcc/gthr.h
index 42f4d1a..dc43b6d 100644
--- a/gcc/gthr.h
+++ b/gcc/gthr.h
@@ -89,7 +89,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
*/
/* Check first for thread specific defines. */
-#if _PTHREADS
+#if defined (__tpf__)
+#include "gthr-tpf.h"
+#elif _PTHREADS
#include "gthr-posix.h"
#elif _DCE_THREADS
#include "gthr-dce.h"