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 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #ifdef ___int8_t_defined
19 #ifndef _INT8_T_DECLARED
20 typedef __int8_t int8_t ;
21 #define _INT8_T_DECLARED
22 #endif
23 #ifndef _UINT8_T_DECLARED
24 typedef __uint8_t uint8_t ;
25 #define _UINT8_T_DECLARED
26 #endif
27 #define __int8_t_defined 1
28 #endif /* ___int8_t_defined */
29 
30 #ifdef ___int16_t_defined
31 #ifndef _INT16_T_DECLARED
32 typedef __int16_t int16_t ;
33 #define _INT16_T_DECLARED
34 #endif
35 #ifndef _UINT16_T_DECLARED
36 typedef __uint16_t uint16_t ;
37 #define _UINT16_T_DECLARED
38 #endif
39 #define __int16_t_defined 1
40 #endif /* ___int16_t_defined */
41 
42 #ifdef ___int32_t_defined
43 #ifndef _INT32_T_DECLARED
44 typedef __int32_t int32_t ;
45 #define _INT32_T_DECLARED
46 #endif
47 #ifndef _UINT32_T_DECLARED
48 typedef __uint32_t uint32_t ;
49 #define _UINT32_T_DECLARED
50 #endif
51 #define __int32_t_defined 1
52 #endif /* ___int32_t_defined */
53 
54 #ifdef ___int64_t_defined
55 #ifndef _INT64_T_DECLARED
56 typedef __int64_t int64_t ;
57 #define _INT64_T_DECLARED
58 #endif
59 #ifndef _UINT64_T_DECLARED
60 typedef __uint64_t uint64_t ;
61 #define _UINT64_T_DECLARED
62 #endif
63 #define __int64_t_defined 1
64 #endif /* ___int64_t_defined */
65 
66 #ifndef _INTMAX_T_DECLARED
67 typedef __intmax_t intmax_t;
68 #define _INTMAX_T_DECLARED
69 #endif
70 
71 #ifndef _UINTMAX_T_DECLARED
72 typedef __uintmax_t uintmax_t;
73 #define _UINTMAX_T_DECLARED
74 #endif
75 
76 #ifndef _INTPTR_T_DECLARED
77 typedef __intptr_t intptr_t;
78 #define _INTPTR_T_DECLARED
79 #endif
80 
81 #ifndef _UINTPTR_T_DECLARED
82 typedef __uintptr_t uintptr_t;
83 #define _UINTPTR_T_DECLARED
84 #endif
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif /* _SYS__STDINT_H */
91