1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/stdint-darwin.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
12 #if defined( DARWIN_STDINT_1_CHECK )
15 #endif /* DARWIN_STDINT_1_CHECK */
18 #if defined( DARWIN_STDINT_2_CHECK )
20 #define INTPTR_MAX 9223372036854775807L
21 #define INTPTR_MIN (-INTPTR_MAX-1)
23 #define INTPTR_MAX 2147483647L
24 #define INTPTR_MIN (-INTPTR_MAX-1)
26 #endif /* DARWIN_STDINT_2_CHECK */
29 #if defined( DARWIN_STDINT_3_CHECK )
31 #define UINTPTR_MAX 18446744073709551615UL
33 #define UINTPTR_MAX 4294967295UL
35 #endif /* DARWIN_STDINT_3_CHECK */
38 #if defined( DARWIN_STDINT_4_CHECK )
40 #define SIZE_MAX 18446744073709551615UL
42 #define SIZE_MAX 4294967295UL
44 #endif /* DARWIN_STDINT_4_CHECK */
47 #if defined( DARWIN_STDINT_5_CHECK )
49 #define INTMAX_MIN (-9223372036854775807L - 1)
50 #define INTMAX_MAX 9223372036854775807L
51 #define UINTMAX_MAX 18446744073709551615UL
53 #define INTMAX_MIN (-9223372036854775807LL - 1)
54 #define INTMAX_MAX 9223372036854775807LL
55 #define UINTMAX_MAX 18446744073709551615ULL
57 #endif /* DARWIN_STDINT_5_CHECK */
60 #if defined( DARWIN_STDINT_6_CHECK )
62 #define PTRDIFF_MIN (-9223372036854775807L - 1)
63 #define PTRDIFF_MAX 9223372036854775807L
65 #define PTRDIFF_MIN (-2147483647 - 1)
66 #define PTRDIFF_MAX 2147483647
68 #endif /* DARWIN_STDINT_6_CHECK */
71 #if defined( DARWIN_STDINT_7_CHECK )
73 #define INTMAX_C(v) (v ## L)
74 #define UINTMAX_C(v) (v ## UL)
76 #define INTMAX_C(v) (v ## LL)
77 #define UINTMAX_C(v) (v ## ULL)
79 #endif /* DARWIN_STDINT_7_CHECK */