diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/compat-common.h')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/compat-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/compat-common.h b/gcc/testsuite/gcc.dg/compat/compat-common.h index a109c1ed1f2..c2664acbd19 100644 --- a/gcc/testsuite/gcc.dg/compat/compat-common.h +++ b/gcc/testsuite/gcc.dg/compat/compat-common.h @@ -28,8 +28,14 @@ #define CINT(x, y) (x + __extension__ y##i) #define CDBL(x, y) (x + __extension__ y##i) #else +#ifdef __SUNPRO_C +/* ??? Complex support without <complex.h>. */ +#else #include <complex.h> +#endif +#ifndef SKIP_COMPLEX_INT #define CINT(x, y) ((_Complex int) (x + y * _Complex_I)) +#endif #define CDBL(x, y) (x + y * _Complex_I) #endif |