From 86b36930b73951cf9a87107b45c3fd53a79e8bc5 Mon Sep 17 00:00:00 2001 From: jakub Date: Tue, 12 Dec 2006 15:15:19 +0000 Subject: 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 --- gcc/gthr-posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/gthr-posix.h') 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 require this to be defined. */ -#ifndef _REENTRANT +#if !defined(_REENTRANT) && defined(__osf__) #define _REENTRANT 1 #endif -- cgit v1.2.1