aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2009-08-14 17:20:30 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2009-08-14 17:20:30 +0000
commit03c5794895d4ba0eee373570246801f413982fc9 (patch)
tree5d60d928c3841d02d87fe814d49a16e1da5380eb /fixincludes/tests
parent938cfa0f3d54859fa2ec177417f83a64dd10ca6a (diff)
downloadgcc-03c5794895d4ba0eee373570246801f413982fc9.zip
gcc-03c5794895d4ba0eee373570246801f413982fc9.tar.gz
gcc-03c5794895d4ba0eee373570246801f413982fc9.tar.bz2
inclhack.def (hpux_imaginary_i): New fix.
2009-08-14 Steve Ellcey <sje@cup.hp.com> * inclhack.def (hpux_imaginary_i): New fix. * fixincl.x: Regenerate. * tests/base/complex.h: New file. From-SVN: r150764
Diffstat (limited to 'fixincludes/tests')
-rw-r--r--fixincludes/tests/base/complex.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/fixincludes/tests/base/complex.h b/fixincludes/tests/base/complex.h
new file mode 100644
index 0000000..c1447d4
--- /dev/null
+++ b/fixincludes/tests/base/complex.h
@@ -0,0 +1,21 @@
+/* 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)
+#define I _Complex_I
+#endif /* AIX_COMPLEX_CHECK */
+
+
+#if defined( HPUX_IMAGINARY_I_CHECK )
+# define _Complex_I (__extension__ 1.0iF)
+
+#endif /* HPUX_IMAGINARY_I_CHECK */