1 /*
2  * Copyright (c) 2004, 2005 by
3  * Ralf Corsepius, Ulm/Germany. All rights reserved.
4  *
5  * Permission to use, copy, modify, and distribute this software
6  * is freely granted, provided that this notice is preserved.
7  */
8 
9 #ifndef _SYS__STDINT_H
10 #define _SYS__STDINT_H
11 
12 #include <machine/_default_types.h>
13 
14 _BEGIN_STD_C
15 
16 #ifdef ___int8_t_defined
17 #ifndef _INT8_T_DECLARED
18 typedef __int8_t int8_t ;
19 #define _INT8_T_DECLARED
20 #endif
21 #ifndef _UINT8_T_DECLARED
22 typedef __uint8_t uint8_t ;
23 #define _UINT8_T_DECLARED
24 #endif
25 #define __int8_t_defined 1
26 #endif /* ___int8_t_defined */
27 
28 #ifdef ___int16_t_defined
29 #ifndef _INT16_T_DECLARED
30 typedef __int16_t int16_t ;
31 #define _INT16_T_DECLARED
32 #endif
33 #ifndef _UINT16_T_DECLARED
34 typedef __uint16_t uint16_t ;
35 #define _UINT16_T_DECLARED
36 #endif
37 #define __int16_t_defined 1
38 #endif /* ___int16_t_defined */
39 
40 #ifdef ___int32_t_defined
41 #ifndef _INT32_T_DECLARED
42 typedef __int32_t int32_t ;
43 #define _INT32_T_DECLARED
44 #endif
45 #ifndef _UINT32_T_DECLARED
46 typedef __uint32_t uint32_t ;
47 #define _UINT32_T_DECLARED
48 #endif
49 #define __int32_t_defined 1
50 #endif /* ___int32_t_defined */
51 
52 #ifdef ___int64_t_defined
53 #ifndef _INT64_T_DECLARED
54 typedef __int64_t int64_t ;
55 #define _INT64_T_DECLARED
56 #endif
57 #ifndef _UINT64_T_DECLARED
58 typedef __uint64_t uint64_t ;
59 #define _UINT64_T_DECLARED
60 #endif
61 #define __int64_t_defined 1
62 #endif /* ___int64_t_defined */
63 
64 #ifndef _INTMAX_T_DECLARED
65 typedef __intmax_t intmax_t;
66 #define _INTMAX_T_DECLARED
67 #endif
68 
69 #ifndef _UINTMAX_T_DECLARED
70 typedef __uintmax_t uintmax_t;
71 #define _UINTMAX_T_DECLARED
72 #endif
73 
74 #ifndef _INTPTR_T_DECLARED
75 typedef __intptr_t intptr_t;
76 #define _INTPTR_T_DECLARED
77 #endif
78 
79 #ifndef _UINTPTR_T_DECLARED
80 typedef __uintptr_t uintptr_t;
81 #define _UINTPTR_T_DECLARED
82 #endif
83 
84 _END_STD_C
85 
86 #endif /* _SYS__STDINT_H */
87