summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/compat-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/compat-common.h')
-rw-r--r--gcc/testsuite/gcc.dg/compat/compat-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/compat-common.h b/gcc/testsuite/gcc.dg/compat/compat-common.h
index 635e7446d76..40d4e08f9f1 100644
--- a/gcc/testsuite/gcc.dg/compat/compat-common.h
+++ b/gcc/testsuite/gcc.dg/compat/compat-common.h
@@ -24,6 +24,13 @@
#define DEBUG_FINI
#endif
+#ifdef SKIP_COMPLEX
+#ifndef SKIP_COMPLEX_INT
+#define SKIP_COMPLEX_INT
+#endif
+#endif
+
+#ifndef SKIP_COMPLEX
#ifdef __GNUC__
#define CINT(x, y) (x + y * __extension__ 1i)
#define CDBL(x, y) (x + y * __extension__ 1i)
@@ -38,6 +45,7 @@
#endif
#define CDBL(x, y) (x + y * _Complex_I)
#endif
+#endif
extern void abort (void);
extern int fails;