[llvm-commits] [llvm] r44353 - /llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c

Zhou Sheng zhousheng00 at gmail.com
Mon Nov 26 22:17:02 PST 2007


Author: sheng
Date: Tue Nov 27 00:17:01 2007
New Revision: 44353

URL: http://llvm.org/viewvc/llvm-project?rev=44353&view=rev
Log:
Make this testcase compatible with CYGWIN.

Modified:
    llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c

Modified: llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c?rev=44353&r1=44352&r2=44353&view=diff

==============================================================================
--- llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c (original)
+++ llvm/trunk/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c Tue Nov 27 00:17:01 2007
@@ -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);





More information about the llvm-commits mailing list