From ad16e76bfd6045ba8d9148fb9e6f34d717af41c8 Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Thu, 3 Mar 2005 23:46:43 +0000 Subject: [PATCH] assert4.c: Fix for cygwin 2005-03-04 David Billinghurst * gcc.dg/cpp/assert4.c: Fix for cygwin From-SVN: r95849 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/cpp/assert4.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 19f3404a4fb..8766cb7586a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-03-04 David Billinghurst + + * gcc.dg/cpp/assert4.c: Fix for cygwin + 2005-03-02 Alexandre Oliva * g++.dg/overload/using2.C: New. diff --git a/gcc/testsuite/gcc.dg/cpp/assert4.c b/gcc/testsuite/gcc.dg/cpp/assert4.c index 99b304f2455..023bb50cdeb 100644 --- a/gcc/testsuite/gcc.dg/cpp/assert4.c +++ b/gcc/testsuite/gcc.dg/cpp/assert4.c @@ -78,7 +78,7 @@ # error #endif -#if defined __unix__ || defined _AIX +#if ( defined __unix__ && !defined __CYGWIN__ ) || defined _AIX # if !#system(unix) # error # endif @@ -118,7 +118,7 @@ # error #endif -#if defined __WINNT__ +#if defined __WINNT__ || defined __CYGWIN__ # if !#system(winnt) # error # endif