Rev 6536 | Rev 6607 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | /* newlib.h. Generated from newlib.hin by configure. */ |
2 | /* newlib.hin. Manually edited from the output of autoheader to |
||
3 | remove all PACKAGE_ macros which will collide with any user |
||
4 | package using newlib header files and having its own package name, |
||
5 | version, etc... */ |
||
6 | #ifndef __NEWLIB_H__ |
||
7 | |||
8 | #define __NEWLIB_H__ 1 |
||
9 | |||
10 | /* EL/IX level */ |
||
11 | /* #undef _ELIX_LEVEL */ |
||
12 | |||
13 | /* Newlib version */ |
||
6536 | serge | 14 | #include <_newlib_version.h> |
4349 | Serge | 15 | |
16 | /* C99 formats support (such as %a, %zu, ...) in IO functions like |
||
17 | * printf/scanf enabled */ |
||
6557 | serge | 18 | #define _WANT_IO_C99_FORMATS |
4349 | Serge | 19 | |
20 | #define __DYNAMIC_REENT__ |
||
21 | |||
22 | /* long long type support in IO functions like printf/scanf enabled */ |
||
23 | #define _WANT_IO_LONG_LONG |
||
24 | |||
25 | /* Register application finalization function using atexit. */ |
||
26 | /* #undef _WANT_REGISTER_FINI */ |
||
27 | |||
28 | /* long double type support in IO functions like printf/scanf enabled */ |
||
29 | /* #undef _WANT_IO_LONG_DOUBLE */ |
||
30 | |||
31 | /* Positional argument support in printf functions enabled. */ |
||
32 | /* #undef _WANT_IO_POS_ARGS */ |
||
33 | |||
34 | /* Optional reentrant struct support. Used mostly on platforms with |
||
35 | very restricted storage. */ |
||
36 | /* #undef _WANT_REENT_SMALL */ |
||
37 | |||
38 | /* Multibyte supported */ |
||
39 | /* #undef _MB_CAPABLE */ |
||
40 | |||
41 | /* MB_LEN_MAX */ |
||
42 | #define _MB_LEN_MAX 1 |
||
43 | |||
44 | /* ICONV enabled */ |
||
45 | /* #undef _ICONV_ENABLED */ |
||
46 | |||
47 | /* Enable ICONV external CCS files loading capabilities */ |
||
48 | /* #undef _ICONV_ENABLE_EXTERNAL_CCS */ |
||
49 | |||
50 | /* Define if the linker supports .preinit_array/.init_array/.fini_array |
||
51 | * sections. */ |
||
6536 | serge | 52 | /* #undef HAVE_INITFINI_ARRAY */ |
4349 | Serge | 53 | |
54 | /* True if atexit() may dynamically allocate space for cleanup |
||
55 | functions. */ |
||
56 | #define _ATEXIT_DYNAMIC_ALLOC 1 |
||
57 | |||
58 | /* True if long double supported. */ |
||
6557 | serge | 59 | //#define _HAVE_LONG_DOUBLE 1 |
4349 | Serge | 60 | |
6536 | serge | 61 | /* Define if compiler supports -fno-tree-loop-distribute-patterns. */ |
62 | #define _HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 |
||
63 | |||
4349 | Serge | 64 | /* True if long double supported and it is equal to double. */ |
65 | /* #undef _LDBL_EQ_DBL */ |
||
66 | |||
67 | /* |
||
68 | * Iconv encodings enabled ("to" direction) |
||
69 | */ |
||
70 | /* #undef _ICONV_TO_ENCODING_BIG5 */ |
||
71 | /* #undef _ICONV_TO_ENCODING_CP775 */ |
||
72 | /* #undef _ICONV_TO_ENCODING_CP850 */ |
||
73 | /* #undef _ICONV_TO_ENCODING_CP852 */ |
||
74 | /* #undef _ICONV_TO_ENCODING_CP855 */ |
||
75 | /* #undef _ICONV_TO_ENCODING_CP866 */ |
||
76 | /* #undef _ICONV_TO_ENCODING_EUC_JP */ |
||
77 | /* #undef _ICONV_TO_ENCODING_EUC_TW */ |
||
78 | /* #undef _ICONV_TO_ENCODING_EUC_KR */ |
||
79 | /* #undef _ICONV_TO_ENCODING_ISO_8859_1 */ |
||
80 | /* #undef _ICONV_TO_ENCODING_ISO_8859_10 */ |
||
81 | /* #undef _ICONV_TO_ENCODING_ISO_8859_11 */ |
||
82 | /* #undef _ICONV_TO_ENCODING_ISO_8859_13 */ |
||
83 | /* #undef _ICONV_TO_ENCODING_ISO_8859_14 */ |
||
84 | /* #undef _ICONV_TO_ENCODING_ISO_8859_15 */ |
||
85 | /* #undef _ICONV_TO_ENCODING_ISO_8859_2 */ |
||
86 | /* #undef _ICONV_TO_ENCODING_ISO_8859_3 */ |
||
87 | /* #undef _ICONV_TO_ENCODING_ISO_8859_4 */ |
||
88 | /* #undef _ICONV_TO_ENCODING_ISO_8859_5 */ |
||
89 | /* #undef _ICONV_TO_ENCODING_ISO_8859_6 */ |
||
90 | /* #undef _ICONV_TO_ENCODING_ISO_8859_7 */ |
||
91 | /* #undef _ICONV_TO_ENCODING_ISO_8859_8 */ |
||
92 | /* #undef _ICONV_TO_ENCODING_ISO_8859_9 */ |
||
93 | /* #undef _ICONV_TO_ENCODING_ISO_IR_111 */ |
||
94 | /* #undef _ICONV_TO_ENCODING_KOI8_R */ |
||
95 | /* #undef _ICONV_TO_ENCODING_KOI8_RU */ |
||
96 | /* #undef _ICONV_TO_ENCODING_KOI8_U */ |
||
97 | /* #undef _ICONV_TO_ENCODING_KOI8_UNI */ |
||
98 | /* #undef _ICONV_TO_ENCODING_UCS_2 */ |
||
99 | /* #undef _ICONV_TO_ENCODING_UCS_2_INTERNAL */ |
||
100 | /* #undef _ICONV_TO_ENCODING_UCS_2BE */ |
||
101 | /* #undef _ICONV_TO_ENCODING_UCS_2LE */ |
||
102 | /* #undef _ICONV_TO_ENCODING_UCS_4 */ |
||
103 | /* #undef _ICONV_TO_ENCODING_UCS_4_INTERNAL */ |
||
104 | /* #undef _ICONV_TO_ENCODING_UCS_4BE */ |
||
105 | /* #undef _ICONV_TO_ENCODING_UCS_4LE */ |
||
106 | /* #undef _ICONV_TO_ENCODING_US_ASCII */ |
||
107 | /* #undef _ICONV_TO_ENCODING_UTF_16 */ |
||
108 | /* #undef _ICONV_TO_ENCODING_UTF_16BE */ |
||
109 | /* #undef _ICONV_TO_ENCODING_UTF_16LE */ |
||
110 | /* #undef _ICONV_TO_ENCODING_UTF_8 */ |
||
111 | /* #undef _ICONV_TO_ENCODING_WIN_1250 */ |
||
112 | /* #undef _ICONV_TO_ENCODING_WIN_1251 */ |
||
113 | /* #undef _ICONV_TO_ENCODING_WIN_1252 */ |
||
114 | /* #undef _ICONV_TO_ENCODING_WIN_1253 */ |
||
115 | /* #undef _ICONV_TO_ENCODING_WIN_1254 */ |
||
116 | /* #undef _ICONV_TO_ENCODING_WIN_1255 */ |
||
117 | /* #undef _ICONV_TO_ENCODING_WIN_1256 */ |
||
118 | /* #undef _ICONV_TO_ENCODING_WIN_1257 */ |
||
119 | /* #undef _ICONV_TO_ENCODING_WIN_1258 */ |
||
120 | |||
121 | /* |
||
122 | * Iconv encodings enabled ("from" direction) |
||
123 | */ |
||
124 | /* #undef _ICONV_FROM_ENCODING_BIG5 */ |
||
125 | /* #undef _ICONV_FROM_ENCODING_CP775 */ |
||
126 | /* #undef _ICONV_FROM_ENCODING_CP850 */ |
||
127 | /* #undef _ICONV_FROM_ENCODING_CP852 */ |
||
128 | /* #undef _ICONV_FROM_ENCODING_CP855 */ |
||
129 | /* #undef _ICONV_FROM_ENCODING_CP866 */ |
||
130 | /* #undef _ICONV_FROM_ENCODING_EUC_JP */ |
||
131 | /* #undef _ICONV_FROM_ENCODING_EUC_TW */ |
||
132 | /* #undef _ICONV_FROM_ENCODING_EUC_KR */ |
||
133 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_1 */ |
||
134 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_10 */ |
||
135 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_11 */ |
||
136 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_13 */ |
||
137 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_14 */ |
||
138 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_15 */ |
||
139 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_2 */ |
||
140 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_3 */ |
||
141 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_4 */ |
||
142 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_5 */ |
||
143 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_6 */ |
||
144 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_7 */ |
||
145 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_8 */ |
||
146 | /* #undef _ICONV_FROM_ENCODING_ISO_8859_9 */ |
||
147 | /* #undef _ICONV_FROM_ENCODING_ISO_IR_111 */ |
||
148 | /* #undef _ICONV_FROM_ENCODING_KOI8_R */ |
||
149 | /* #undef _ICONV_FROM_ENCODING_KOI8_RU */ |
||
150 | /* #undef _ICONV_FROM_ENCODING_KOI8_U */ |
||
151 | /* #undef _ICONV_FROM_ENCODING_KOI8_UNI */ |
||
152 | /* #undef _ICONV_FROM_ENCODING_UCS_2 */ |
||
153 | /* #undef _ICONV_FROM_ENCODING_UCS_2_INTERNAL */ |
||
154 | /* #undef _ICONV_FROM_ENCODING_UCS_2BE */ |
||
155 | /* #undef _ICONV_FROM_ENCODING_UCS_2LE */ |
||
156 | /* #undef _ICONV_FROM_ENCODING_UCS_4 */ |
||
157 | /* #undef _ICONV_FROM_ENCODING_UCS_4_INTERNAL */ |
||
158 | /* #undef _ICONV_FROM_ENCODING_UCS_4BE */ |
||
159 | /* #undef _ICONV_FROM_ENCODING_UCS_4LE */ |
||
160 | /* #undef _ICONV_FROM_ENCODING_US_ASCII */ |
||
161 | /* #undef _ICONV_FROM_ENCODING_UTF_16 */ |
||
162 | /* #undef _ICONV_FROM_ENCODING_UTF_16BE */ |
||
163 | /* #undef _ICONV_FROM_ENCODING_UTF_16LE */ |
||
164 | /* #undef _ICONV_FROM_ENCODING_UTF_8 */ |
||
165 | /* #undef _ICONV_FROM_ENCODING_WIN_1250 */ |
||
166 | /* #undef _ICONV_FROM_ENCODING_WIN_1251 */ |
||
167 | /* #undef _ICONV_FROM_ENCODING_WIN_1252 */ |
||
168 | /* #undef _ICONV_FROM_ENCODING_WIN_1253 */ |
||
169 | /* #undef _ICONV_FROM_ENCODING_WIN_1254 */ |
||
170 | /* #undef _ICONV_FROM_ENCODING_WIN_1255 */ |
||
171 | /* #undef _ICONV_FROM_ENCODING_WIN_1256 */ |
||
172 | /* #undef _ICONV_FROM_ENCODING_WIN_1257 */ |
||
173 | /* #undef _ICONV_FROM_ENCODING_WIN_1258 */ |
||
174 | |||
6312 | serge | 175 | #ifdef STATIC_LIBC |
176 | #define BUILD_LIBC |
||
177 | #endif |
||
178 | |||
179 | #ifdef BUILD_LIBC |
||
180 | #define __EXPORT |
||
181 | #define __IMPORT |
||
182 | #else |
||
183 | #define __EXPORT __attribute__ ((dllexport)) |
||
184 | #define __IMPORT __attribute__ ((dllimport)) |
||
185 | #endif |
||
186 | |||
4349 | Serge | 187 | #endif /* !__NEWLIB_H__ */ |
188 |