From: Joseph Myers Date: Fri, 18 Nov 2011 22:26:47 +0000 (+0000) Subject: * gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__. X-Git-Tag: releases/gcc-4.7.0~2106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afd87d51e2aad2a9d6647d0582fd0011f33fa185;p=thirdparty%2Fgcc.git * gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__. From-SVN: r181496 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b48fa682f9bc..d4e8dfb17d53 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2011-11-18 Joseph Myers + + * gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__. + 2011-11-18 Fabien Chêne PR c++/51188 diff --git a/gcc/testsuite/gcc.dg/cpp/assert4.c b/gcc/testsuite/gcc.dg/cpp/assert4.c index a05ef1302065..514195313b3c 100644 --- a/gcc/testsuite/gcc.dg/cpp/assert4.c +++ b/gcc/testsuite/gcc.dg/cpp/assert4.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2006, 2008 Free Software Foundation, Inc. +/* Copyright (C) 2003, 2006, 2008, 2009, 2011 Free Software Foundation, Inc. Test builtin preprocessor assertions. By Kaveh Ghazi . */ @@ -7,7 +7,7 @@ /* Check for #system assertions. */ -#if defined __gnu_linux__ +#if defined __linux__ # if !#system(linux) || !#system(unix) || !#system(posix) # error # endif