Fix 22_locale/locale/cons/12658_thread-2.cc on hppa.
[official-gcc.git] / fixincludes / tests / base / stdint-aix.h
blob1560e75d6448769418dbf0bf823028f7a48678aa
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/stdint-aix.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
12 #if defined( AIX_STDINT_1_CHECK )
13 #define UINT8_MAX (255)
14 #define UINT16_MAX (65535)
15 #endif /* AIX_STDINT_1_CHECK */
18 #if defined( AIX_STDINT_2_CHECK )
19 #define INTPTR_MIN (-INTPTR_MAX-1)
20 #define INTPTR_MAX 9223372036854775807L
21 #define UINTPTR_MAX 18446744073709551615UL
22 #else
23 #define INTPTR_MIN (-INTPTR_MAX-1)
24 #define INTPTR_MAX 2147483647L
25 #define UINTPTR_MAX 4294967295UL
26 #endif /* AIX_STDINT_2_CHECK */
29 #if defined( AIX_STDINT_3_CHECK )
30 #define PTRDIFF_MIN (-9223372036854775807L - 1)
31 #define PTRDIFF_MAX 9223372036854775807L
32 #else
33 #define PTRDIFF_MIN (-2147483647L - 1)
34 #define PTRDIFF_MAX 2147483647L
35 #endif /* AIX_STDINT_3_CHECK */
38 #if defined( AIX_STDINT_4_CHECK )
39 #define SIZE_MAX 18446744073709551615UL
40 #else
41 #define SIZE_MAX 4294967295UL
42 #endif /* AIX_STDINT_4_CHECK */
45 #if defined( AIX_STDINT_5_CHECK )
46 #define UINT8_C(c) c
47 #define UINT16_C(c) c
48 #endif /* AIX_STDINT_5_CHECK */