+2009-08-28 Steve Ellcey <sje@cup.hp.com>
+
+ * inclhack.def (hpux_imaginary_i): Remove spaces.
+ * fixincl.x: Regenerate.
+ * tests/base/stdint.h: Update AIX fixes.
+ * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
+
2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure.ac (AC_PREREQ): Bump to 2.64.
*
* DO NOT EDIT THIS FILE (fixincl.x)
*
- * It has been AutoGen-ed Sunday August 16, 2009 at 08:59:30 AM EDT
+ * It has been AutoGen-ed Friday August 28, 2009 at 10:41:05 AM PDT
* From the definitions inclhack.def
* and the template file fixincl
*/
-/* DO NOT SVN-MERGE THIS FILE, EITHER Sun Aug 16 08:59:30 EDT 2009
+/* DO NOT SVN-MERGE THIS FILE, EITHER Fri Aug 28 10:41:05 PDT 2009
*
* You must regenerate it. Use the ./genfixes script.
*
*/
static const char* apzHpux_Imaginary_IPatch[] = {
"format",
- "# define _Complex_I (__extension__ 1.0iF)",
+ "#define _Complex_I (__extension__ 1.0iF)",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
#if defined( AIX_STDINT_1_CHECK )
-#define UINT8_MAX (255U)
-#define UINT16_MAX (65535U)
+#define UINT8_MAX (255)
+#define UINT16_MAX (65535)
#endif /* AIX_STDINT_1_CHECK */
#if defined( AIX_STDINT_2_CHECK )
-#define INTPTR_MIN INT64_MIN
-#define INTPTR_MAX INT64_MAX
-#define UINTPTR_MAX UINT64_MAX
+#define INTPTR_MIN (-INTPTR_MAX-1)
+#define INTPTR_MAX 9223372036854775807L
+#define UINTPTR_MAX 18446744073709551615UL
#else
-#define INTPTR_MIN INT32_MIN
-#define INTPTR_MAX INT32_MAX
-#define UINTPTR_MAX UINT32_MAX
+#define INTPTR_MIN (-INTPTR_MAX-1)
+#define INTPTR_MAX 2147483647L
+#define UINTPTR_MAX 4294967295UL
#endif /* AIX_STDINT_2_CHECK */
#if defined( AIX_STDINT_3_CHECK )
-#define PTRDIFF_MIN INT64_MIN
-#define PTRDIFF_MAX INT64_MAX
+#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)
+#define PTRDIFF_MAX __PTRDIFF_MAX__
#else
-#define PTRDIFF_MIN INT32_MIN
-#define PTRDIFF_MAX INT32_MAX
+#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)
+#define PTRDIFF_MAX __PTRDIFF_MAX__
#endif /* AIX_STDINT_3_CHECK */
#if defined( AIX_STDINT_4_CHECK )
-#define SIZE_MAX UINT64_MAX
+#define SIZE_MAX __SIZE_MAX__
#else
-#define SIZE_MAX UINT32_MAX
+#define SIZE_MAX __SIZE_MAX__
#endif /* AIX_STDINT_4_CHECK */
#if defined( AIX_STDINT_5_CHECK )
-#define UINT8_C(c) __CONCAT__(c,U)
-#define UINT16_C(c) __CONCAT__(c,U)
+#define UINT8_C(c) __UINT8_C(c)
+#define UINT16_C(c) __UINT16_C(c)
#endif /* AIX_STDINT_5_CHECK */