aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/fixincludes/tests/base/complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/fixincludes/tests/base/complex.h')
-rw-r--r--gcc-4.9/fixincludes/tests/base/complex.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/gcc-4.9/fixincludes/tests/base/complex.h b/gcc-4.9/fixincludes/tests/base/complex.h
new file mode 100644
index 000000000..f648d6fc2
--- /dev/null
+++ b/gcc-4.9/fixincludes/tests/base/complex.h
@@ -0,0 +1,39 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/complex.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( AIX_COMPLEX_CHECK )
+#define _Complex_I (__extension__ 1.0iF)
+
+#endif /* AIX_COMPLEX_CHECK */
+
+
+#if defined( HPUX_IMAGINARY_I_CHECK )
+#define _Complex_I (__extension__ 1.0iF)
+
+#endif /* HPUX_IMAGINARY_I_CHECK */
+
+
+#if defined( SOLARIS_COMPLEX_CHECK )
+#define _Complex_I (__extension__ 1.0iF)
+#define complex _Complex
+#undef I
+#define I _Complex_I
+#endif /* SOLARIS_COMPLEX_CHECK */
+
+
+#if defined( SOLARIS_COMPLEX_CXX_CHECK )
+#ifdef __cplusplus
+extern "C" {
+#endif
+#ifdef __cplusplus
+}
+#endif
+#endif /* SOLARIS_COMPLEX_CXX_CHECK */