summaryrefslogtreecommitdiffstats
path: root/gcc/gthr-posix.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-12 15:15:19 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-12 15:15:19 +0000
commit86b36930b73951cf9a87107b45c3fd53a79e8bc5 (patch)
tree11f5c0ddc0f4e4365d94408adfa07a4c4273c152 /gcc/gthr-posix.h
parentb6896428192c62e703264d7e7aa1d1740174976e (diff)
downloadppe42-gcc-86b36930b73951cf9a87107b45c3fd53a79e8bc5.tar.gz
ppe42-gcc-86b36930b73951cf9a87107b45c3fd53a79e8bc5.zip
PR libstdc++/11953
* gthr-posix.h (_REENTRANT): Only define if __osf__ is defined. * config/ia64/linux.h (CPP_SPEC): Define. * config/s390/linux.h (CPP_SPEC): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119788 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r--gcc/gthr-posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h
index fb58be94ea6..837bc1a9820 100644
--- a/gcc/gthr-posix.h
+++ b/gcc/gthr-posix.h
@@ -36,7 +36,7 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#define __GTHREADS 1
/* Some implementations of <pthread.h> require this to be defined. */
-#ifndef _REENTRANT
+#if !defined(_REENTRANT) && defined(__osf__)
#define _REENTRANT 1
#endif
OpenPOWER on IntegriCloud