]> git.ipfire.org Git - thirdparty/gcc.git/blob - fixincludes/tests/base/stdint.h
PR c/448
[thirdparty/gcc.git] / fixincludes / tests / base / stdint.h
1 /* DO NOT EDIT THIS FILE.
2
3 It has been auto-edited by fixincludes from:
4
5 "fixinc/tests/inc/stdint.h"
6
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
9
10
11
12 #if defined( IRIX_STDINT_C99_CHECK )
13 #if 0
14 #error This header file is to be used only for c99 mode compilations
15 #else
16 #endif /* IRIX_STDINT_C99_CHECK */
17
18
19 #if defined( NEWLIB_STDINT_1_CHECK )
20 /* @todo - Add support for wint_t types. */
21 #define INT32_MIN (-INT32_MAX - 1)
22 #define INT32_MAX __INT32_MAX__
23 #define UINT32_MAX __UINT32_MAX__
24 #define INT_LEAST32_MIN (-INT_LEAST32_MAX - 1)
25 #define INT_LEAST32_MAX __INT_LEAST32_MAX__
26 #define UINT_LEAST32_MAX __UINT_LEAST32_MAX__
27 #define INT_FAST8_MIN (-INT_FAST8_MAX - 1)
28 #define INT_FAST8_MAX __INT_FAST8_MAX__
29 #define UINT_FAST8_MAX __UINT_FAST8_MAX__
30 #define SIZE_MAX __SIZE_MAX__
31 #define PTRDIFF_MIN (-PTRDIFF_MAX - 1)
32 #define PTRDIFF_MAX __PTRDIFF_MAX__
33 #define UINT8_C(c) __UINT8_C(c)
34 #define UINT16_C(c) __UINT16_C(c)
35 #endif /* NEWLIB_STDINT_1_CHECK */
36
37
38 #if defined( NEWLIB_STDINT_2_CHECK )
39 /* @todo - Add support for wint_t types. */
40 #define INTMAX_MAX __INTMAX_MAX__
41 #define INTMAX_MIN (-INTMAX_MAX - 1)
42 #define UINTMAX_MAX __UINTMAX_MAX__
43 #define WCHAR_MAX __WCHAR_MAX__
44 #define WCHAR_MIN __WCHAR_MIN__
45 #define WINT_MAX __WINT_MAX__
46 #define WINT_MIN __WINT_MIN__
47
48 /** Macros for minimum-width integer constant expressions */
49 #endif /* NEWLIB_STDINT_2_CHECK */