]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - fixincludes/tests/base/stdint.h
inclhack.def (hpux11_uint32_c): Remove.
[thirdparty/gcc.git] / fixincludes / tests / base / stdint.h
index 30ba3adac886e4e3db5df6b36d8367cb3d98381c..653c5da69e8da672b7b60c9094009a11e31c09c8 100644 (file)
 #endif  /* GLIBC_STDINT_CHECK */
 
 
+#if defined( HPUX_C99_INTPTR_CHECK )
+#define PTRDIFF_MAX __PTRDIFF_MAX__
+#define PTRDIFF_MIN (-PTRDIFF_MAX - 1)
+#define INTPTR_MAX (2147483647l)
+#define INTPTR_MIN (-INTPTR_MAX - 1)
+#define UINTPTR_MAX (4294967295ul)
+#define SIZE_MAX __SIZE_MAX__
+
+#endif  /* HPUX_C99_INTPTR_CHECK */
+
+
+#if defined( HPUX_C99_INTTYPES2_CHECK )
+#define INT8_C(__c) (__c)
+#define UINT8_C(c) __UINT8_C(c)
+#define INT16_C(__c) (__c)
+#define UINT16_C(c) __UINT16_C(c)
+
+#endif  /* HPUX_C99_INTTYPES2_CHECK */
+
+
+#if defined( HPUX_STDINT_LEAST_CHECK )
+#ifdef __LP64__
+#  define      UINT_LEAST64_MAX        ULONG_MAX
+#else
+#  define       UINT_LEAST64_MAX        ULLONG_MAX
+#endif
+
+
+#endif  /* HPUX_STDINT_LEAST_CHECK */
+
+
+#if defined( HPUX_STDINT_FAST_CHECK )
+#ifdef __LP64__
+#  define      UINT_FAST64_MAX         ULONG_MAX
+#else
+#  define       UINT_FAST64_MAX        ULLONG_MAX
+#endif
+
+
+#endif  /* HPUX_STDINT_FAST_CHECK */
+
+
 #if defined( IRIX_STDINT_C99_CHECK )
 #if 0
 #error This header file is to be used only for c99 mode compilations