Make this testcase compatible with CYGWIN.
authorZhou Sheng <zhousheng00@gmail.com>
Tue, 27 Nov 2007 06:17:01 +0000 (06:17 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Tue, 27 Nov 2007 06:17:01 +0000 (06:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44353 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2005-02-20-AggregateSAVEEXPR.c

index 63bb251c3f05d13b561dac932f2ff648e51e02d6..7a9553303314ebf3a10929a429ca0c5c2439ee3a 100644 (file)
@@ -8,7 +8,11 @@
 //
 // XFAIL: sparc
 
-#include <complex.h>
+#ifdef __CYGWIN__
+  #include <mingw/complex.h>
+#else
+  #include <complex.h>
+#endif
 
 int foo(complex float c) {
     return creal(c);