From c2431a627221fbc00fbda42f493f0df219d5481a Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 12 Dec 2006 16:15:19 +0100 Subject: 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 --- 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 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 require this to be defined. */ -#ifndef _REENTRANT +#if !defined(_REENTRANT) && defined(__osf__) #define _REENTRANT 1 #endif -- cgit v1.1