mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-31 17:42:40 +00:00
Make this testcase compatible with CYGWIN.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b3d9cdb677
commit
515a641dac
@ -8,7 +8,11 @@
|
|||||||
//
|
//
|
||||||
// XFAIL: sparc
|
// XFAIL: sparc
|
||||||
|
|
||||||
#include <complex.h>
|
#ifdef __CYGWIN__
|
||||||
|
#include <mingw/complex.h>
|
||||||
|
#else
|
||||||
|
#include <complex.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int foo(complex float c) {
|
int foo(complex float c) {
|
||||||
return creal(c);
|
return creal(c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user