Commit afd87d51 by Joseph Myers Committed by Joseph Myers

* gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__.

From-SVN: r181496
parent 93aeb62b
2011-11-18 Joseph Myers <joseph@codesourcery.com>
* gcc.dg/cpp/assert4.c: Test __linux__, not __gnu_linux__.
2011-11-18 Fabien Chêne <fabien@gcc.gnu.org>
PR c++/51188
......
/* 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 <ghazi@caip.rutgers.edu>. */
......@@ -7,7 +7,7 @@
/* Check for #system assertions. */
#if defined __gnu_linux__
#if defined __linux__
# if !#system(linux) || !#system(unix) || !#system(posix)
# error
# endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment