summaryrefslogtreecommitdiff
path: root/gcc/gthr.h
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-23 20:57:25 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-23 20:57:25 +0000
commit3fb25423f9f9186a6b76968f84890380bb12ddc8 (patch)
tree751016d73a999419b8204b19a6606873284e8f19 /gcc/gthr.h
parentd0f928b5b4eb4e2c1fc5a9279850f694931a1d89 (diff)
downloadgcc-3fb25423f9f9186a6b76968f84890380bb12ddc8.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87982 138bc75d-0d04-0410-961f-82ee72b054a4
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 42f4d1a4d3a..dc43b6d50e3 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"