]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2005-03-04 David Billinghurst <David.Billinghurst@riotinto.com>
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Mar 2005 23:46:43 +0000 (23:46 +0000)
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 3 Mar 2005 23:46:43 +0000 (23:46 +0000)
* gcc.dg/cpp/assert4.c:  Fix for cygwin

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95849 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/assert4.c

index 19f3404a4fbb612689ec445518457d6051534f63..8766cb7586ad15d0e14de983695008eee7fd5654 100644 (file)
@@ -1,3 +1,7 @@
+2005-03-04  David Billinghurst  <David.Billinghurst@riotinto.com>
+
+       * gcc.dg/cpp/assert4.c:  Fix for cygwin
+
 2005-03-02  Alexandre Oliva  <aoliva@redhat.com>
 
        * g++.dg/overload/using2.C: New.
index 99b304f2455665b771e578730e5126c5f7e09d84..023bb50cdebefbce4bec2a2b025b706d00a829aa 100644 (file)
@@ -78,7 +78,7 @@
 # error
 #endif
 
-#if defined __unix__ || defined _AIX
+#if ( defined __unix__ && !defined __CYGWIN__ ) || defined _AIX
 # if !#system(unix)
 #  error
 # endif
 # error
 #endif
 
-#if defined __WINNT__
+#if defined __WINNT__ || defined __CYGWIN__
 # if !#system(winnt)
 #  error
 # endif