diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-22 22:26:11 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-22 22:26:11 +0000 |
commit | 8fde03bac12ef8e8d2241f78edfdd5ddf124cd72 (patch) | |
tree | 429455b0553bb86246e8d7679840ae2346140ce4 /gcc/gthr.h | |
parent | 2e52b721bc652c06e3d3b9e6b58dfbb53698e58d (diff) | |
download | gcc-8fde03bac12ef8e8d2241f78edfdd5ddf124cd72.tar.gz |
PR target/18444
* configure.ac (threading): Accept 'posix95'.
* configure: Regenerate.
* config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
include sol26.h and default to posix95 threads if have_pthread_h.
(sparc-*-solaris2*): Likewise.
* gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
* gthr-posix95.h: New file.
* config/sol26.h: New file.
* doc/install.texi (--enable-threads): Document 'posix95'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91041 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr.h')
-rw-r--r-- | gcc/gthr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/gthr.h b/gcc/gthr.h index 42f58c9dff6..70345a57c6a 100644 --- a/gcc/gthr.h +++ b/gcc/gthr.h @@ -83,7 +83,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA number. If the operation is not supported, -1 is returned. Currently supported threads packages are - POSIX threads with -D_PTHREADS + TPF threads with -D__tpf__ + POSIX/Unix98 threads with -D_PTHREADS + POSIX/Unix95 threads with -D_PTHREADS95 DCE threads with -D_DCE_THREADS Solaris/UI threads with -D_SOLARIS_THREADS */ @@ -93,6 +95,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "gthr-tpf.h" #elif _PTHREADS #include "gthr-posix.h" +#elif _PTHREADS95 +#include "gthr-posix95.h" #elif _DCE_THREADS #include "gthr-dce.h" #elif _SOLARIS_THREADS |