*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed Saturday August 8, 2009 at 08:07:05 PM EDT
+ * It has been AutoGen-ed Thursday August 13, 2009 at 08:49:14 AM PDT
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Sat Aug 8 20:07:05 EDT 2009
+/* DO NOT SVN-MERGE THIS FILE, EITHER Thu Aug 13 08:49:14 PDT 2009
*
* You must regenerate it. Use the ./genfixes script.
*
* certain ANSI-incompatible system header files which are fixed to work
* correctly with ANSI C and placed in a directory that GNU C will search.
*
- * This file contains 200 fixup descriptions.
+ * This file contains 201 fixup descriptions.
*
* See README for more information.
*
"typedef signed char int8_t;",
(char*)NULL };
+/* * * * * * * * * * * * * * * * * * * * * * * * * *
+ *
+ * Description of Hpux_Imaginary_I fix
+ */
+tSCC zHpux_Imaginary_IName[] =
+ "hpux_imaginary_i";
+
+/*
+ * File name selection pattern
+ */
+tSCC zHpux_Imaginary_IList[] =
+ "complex.h\0";
+/*
+ * Machine/OS name selection pattern
+ */
+tSCC* apzHpux_Imaginary_IMachs[] = {
+ "ia64-hp-hpux11.*",
+ (const char*)NULL };
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zHpux_Imaginary_ISelect0[] =
+ "^[ \t]*#[ \t]*define[ \t]*_Complex_I.*";
+
+#define HPUX_IMAGINARY_I_TEST_CT 1
+static tTestDesc aHpux_Imaginary_ITests[] = {
+ { TT_EGREP, zHpux_Imaginary_ISelect0, (regex_t*)NULL }, };
+
+/*
+ * Fix Command Arguments for Hpux_Imaginary_I
+ */
+static const char* apzHpux_Imaginary_IPatch[] = {
+ "format",
+ "# define _Complex_I (__extension__ 1.0iF)",
+ (char*)NULL };
+
/* * * * * * * * * * * * * * * * * * * * * * * * * *
*
* Description of Huge_Val_Hex fix
*
* List of all fixes
*/
-#define REGEX_COUNT 243
+#define REGEX_COUNT 244
#define MACH_LIST_SIZE_LIMIT 181
-#define FIX_COUNT 200
+#define FIX_COUNT 201
/*
* Enumerate the fixes
HPUX_STDINT_FAST_FIXIDX,
HPUX_INTTYPE_INT_LEAST8_T_FIXIDX,
HPUX_INTTYPE_INT8_T_FIXIDX,
+ HPUX_IMAGINARY_I_FIXIDX,
HUGE_VAL_HEX_FIXIDX,
HUGE_VALF_HEX_FIXIDX,
HUGE_VALL_HEX_FIXIDX,
HPUX_INTTYPE_INT8_T_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
aHpux_Inttype_Int8_TTests, apzHpux_Inttype_Int8_TPatch, 0 },
+ { zHpux_Imaginary_IName, zHpux_Imaginary_IList,
+ apzHpux_Imaginary_IMachs,
+ HPUX_IMAGINARY_I_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
+ aHpux_Imaginary_ITests, apzHpux_Imaginary_IPatch, 0 },
+
{ zHuge_Val_HexName, zHuge_Val_HexList,
apzHuge_Val_HexMachs,
HUGE_VAL_HEX_TEST_CT, FD_MACH_ONLY | FD_SUBROUTINE,
--- /dev/null
+/* 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 */