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