diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-12-12 16:21:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2006-12-12 16:21:53 +0100 |
commit | 779019894c872e6e3a1eb71f9f38b370adbd2c9b (patch) | |
tree | 0e2e4e198bd4dc896cc6a9f3dd48ca37862a9edf /gcc/gthr-posix.h | |
parent | a1b885af6887dae6ebd77f057110a4db4a36bc00 (diff) | |
download | gcc-779019894c872e6e3a1eb71f9f38b370adbd2c9b.tar.gz |
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: r119789
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 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 |