summaryrefslogtreecommitdiffstats
path: root/fixincludes/tests/base/stdint-aix.h
blob: 1560e75d6448769418dbf0bf823028f7a48678aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*  DO NOT EDIT THIS FILE.

    It has been auto-edited by fixincludes from:

	"fixinc/tests/inc/stdint-aix.h"

    This had to be done to correct non-standard usages in the
    original, manufacturer supplied header file.  */



#if defined( AIX_STDINT_1_CHECK )
#define UINT8_MAX	(255)
#define UINT16_MAX	(65535)
#endif  /* AIX_STDINT_1_CHECK */


#if defined( AIX_STDINT_2_CHECK )
#define INTPTR_MIN	(-INTPTR_MAX-1)
#define INTPTR_MAX	9223372036854775807L
#define UINTPTR_MAX	18446744073709551615UL
#else
#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	(-9223372036854775807L - 1)
#define PTRDIFF_MAX	9223372036854775807L
#else
#define PTRDIFF_MIN	(-2147483647L - 1)
#define PTRDIFF_MAX	2147483647L
#endif  /* AIX_STDINT_3_CHECK */


#if defined( AIX_STDINT_4_CHECK )
#define SIZE_MAX	18446744073709551615UL
#else
#define SIZE_MAX	4294967295UL
#endif  /* AIX_STDINT_4_CHECK */


#if defined( AIX_STDINT_5_CHECK )
#define UINT8_C(c)	c
#define UINT16_C(c)	c
#endif  /* AIX_STDINT_5_CHECK */
OpenPOWER on IntegriCloud