diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-12-12 16:15:19 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-12-12 16:15:19 +0100 |
commit | c2431a627221fbc00fbda42f493f0df219d5481a (patch) | |
tree | 11f5c0ddc0f4e4365d94408adfa07a4c4273c152 /gcc/gthr-posix.h | |
parent | b5425e756b286c723d4b53129957f6e2aa1715f0 (diff) | |
download | gcc-c2431a627221fbc00fbda42f493f0df219d5481a.zip gcc-c2431a627221fbc00fbda42f493f0df219d5481a.tar.gz gcc-c2431a627221fbc00fbda42f493f0df219d5481a.tar.bz2 |
re PR libstdc++/11953 (_REENTRANT defined when compiling non-threaded code.)
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.
From-SVN: r119788
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r-- | gcc/gthr-posix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index fb58be9..837bc1a 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 |