]>
Commit | Line | Data |
---|---|---|
b2dad0e3 BK |
1 | // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*- |
2 | ||
8b8ab21c BK |
3 | // Include support for multiple threads, e.g., in the I/O package. |
4 | #undef _GLIBCPP_USE_THREADS | |
5 | ||
b2dad0e3 BK |
6 | // Include support for 'long long' and 'unsigned long long'. |
7 | #undef _GLIBCPP_USE_LONG_LONG | |
8 | ||
9fedcfd5 BK |
9 | // Include support for 'long double'. |
10 | #undef _GLIBCPP_USE_LONG_DOUBLE | |
11 | ||
0517cb99 BK |
12 | // Include support for shadow headers, ie --enable-cshadow-headers. |
13 | #undef _GLIBCPP_USE_SHADOW_HEADERS | |
14 | ||
f4c79fef BK |
15 | // Define if lldiv_t exists in stdlib.h. |
16 | #undef _GLIBCPP_HAVE_LLDIV_T | |
17 | ||
b2dad0e3 BK |
18 | // Define if the host has a type mbstate_t defined in |
19 | // wchar.h, as required by 21.1.3.1. Some systems, namely | |
20 | // hppa-hp-hpux10.20 do not meet this requirement, and must be worked | |
21 | // around. | |
22 | #undef _GLIBCPP_NEED_MBSTATE_T | |
23 | ||
b2dad0e3 BK |
24 | // Define if code specialized for wchar_t should be used. |
25 | #undef _GLIBCPP_USE_WCHAR_T | |
26 | ||
11fc1858 BK |
27 | // Define if the compiler/host combination has __builtin_abs |
28 | #undef HAVE___BUILTIN_ABS | |
b2dad0e3 | 29 | |
11fc1858 BK |
30 | // Define if the compiler/host combination has __builtin_labs |
31 | #undef HAVE___BUILTIN_LABS | |
54fa7415 SK |
32 | |
33 | // Define if the compiler/host combination has __builtin_cos | |
11fc1858 | 34 | #undef HAVE___BUILTIN_COS |
54fa7415 SK |
35 | |
36 | // Define if the compiler/host combination has __builtin_cosf | |
11fc1858 | 37 | #undef HAVE___BUILTIN_COSF |
54fa7415 SK |
38 | |
39 | // Define if the compiler/host combination has __builtin_cosl | |
11fc1858 | 40 | #undef HAVE___BUILTIN_COSL |
54fa7415 SK |
41 | |
42 | // Define if the compiler/host combination has __builtin_fabs | |
11fc1858 | 43 | #undef HAVE___BUILTIN_FABS |
54fa7415 SK |
44 | |
45 | // Define if the compiler/host combination has __builtin_fabsf | |
11fc1858 | 46 | #undef HAVE___BUILTIN_FABSF |
54fa7415 SK |
47 | |
48 | // Define if the compiler/host combination has __builtin_fabsl | |
11fc1858 | 49 | #undef HAVE___BUILTIN_FABSL |
54fa7415 SK |
50 | |
51 | // Define if the compiler/host combination has __builtin_sin | |
11fc1858 | 52 | #undef HAVE___BUILTIN_SIN |
54fa7415 SK |
53 | |
54 | // Define if the compiler/host combination has __builtin_sinf | |
11fc1858 | 55 | #undef HAVE___BUILTIN_SINF |
54fa7415 SK |
56 | |
57 | // Define if the compiler/host combination has __builtin_sinl | |
11fc1858 | 58 | #undef HAVE___BUILTIN_SINL |
54fa7415 | 59 | |
11fc1858 BK |
60 | // Define if the compiler/host combination has __builtin_fsqrt |
61 | #undef HAVE___BUILTIN_FSQRT | |
54fa7415 SK |
62 | |
63 | // Define if the compiler/host combination has __builtin_sqrtf | |
11fc1858 | 64 | #undef HAVE___BUILTIN_SQRTF |
54fa7415 SK |
65 | |
66 | // Define if the compiler/host combination has __builtin_sqrtl | |
11fc1858 | 67 | #undef HAVE___BUILTIN_SQRTL |
b2dad0e3 BK |
68 | |
69 | // Define if GCC support for __complex__ float is buggy. | |
70 | #undef _GLIBCPP_BUGGY_FLOAT_COMPLEX | |
71 | ||
72 | // Define if GCC support for __complex__ is buggy. | |
73 | #undef _GLIBCPP_BUGGY_COMPLEX | |
74 | ||
75 | // Define if LC_MESSAGES is available in <locale.h>. | |
76 | #undef HAVE_LC_MESSAGES | |
77 | ||
78 | // Define if <float.h> exists. | |
79 | #undef HAVE_FLOAT_H | |
80 | ||
81 | // Define if modf is present in <math.h> | |
82 | #undef HAVE_MODF | |
83 | ||
84 | // @BOTTOM@ | |
85 | // | |
86 | // Systems that have certain non-standard functions prefixed with an | |
87 | // underscore, we'll handle those here. Must come after config.h.in. | |
88 | // | |
89 | ||
90 | #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) | |
91 | # define HAVE_ISNAN 1 | |
92 | # define isnan _isnan | |
93 | #endif | |
94 | ||
95 | #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) | |
96 | # define HAVE_ISNANF 1 | |
97 | # define isnanf _isnanf | |
98 | #endif | |
99 | ||
100 | #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) | |
101 | # define HAVE_ISNANL 1 | |
102 | # define isnanl _isnanl | |
103 | #endif | |
104 | ||
105 | #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) | |
106 | # define HAVE_ISINF 1 | |
107 | # define isinf _isinf | |
108 | #endif | |
109 | ||
110 | #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) | |
111 | # define HAVE_ISINFF 1 | |
112 | # define isinff _isinff | |
113 | #endif | |
114 | ||
115 | #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) | |
116 | # define HAVE_ISINFL 1 | |
117 | # define isinfl _isinfl | |
118 | #endif | |
119 | ||
120 | #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN) | |
121 | # define HAVE_COPYSIGN 1 | |
122 | # define copysign _copysign | |
123 | #endif | |
124 | ||
125 | #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL) | |
126 | # define HAVE_COPYSIGNL 1 | |
127 | # define copysignl _copysignl | |
128 | #endif | |
129 | ||
130 | #if defined (HAVE__COSF) && ! defined (HAVE_COSF) | |
131 | # define HAVE_COSF 1 | |
132 | # define cosf _cosf | |
133 | #endif | |
134 | ||
54fa7415 SK |
135 | #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) |
136 | # define HAVE_ACOSF 1 | |
137 | # define acosf _acosf | |
138 | #endif | |
139 | ||
140 | #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) | |
141 | # define HAVE_ACOSL 1 | |
142 | # define acosl _acosl | |
143 | #endif | |
144 | ||
145 | #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) | |
146 | # define HAVE_ASINF 1 | |
147 | # define asinf _asinf | |
148 | #endif | |
149 | ||
150 | #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) | |
151 | # define HAVE_ASINL 1 | |
152 | # define asinl _asinl | |
153 | #endif | |
154 | ||
155 | #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) | |
156 | # define HAVE_ATANF 1 | |
157 | # define atanf _atanf | |
158 | #endif | |
159 | ||
160 | #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) | |
161 | # define HAVE_ATANL 1 | |
162 | # define atanl _atanl | |
163 | #endif | |
164 | ||
165 | #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) | |
166 | # define HAVE_CEILF 1 | |
167 | # define aceil _ceilf | |
168 | #endif | |
169 | ||
170 | #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) | |
171 | # define HAVE_CEILL 1 | |
172 | # define aceil _ceill | |
173 | #endif | |
174 | ||
b2dad0e3 BK |
175 | #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) |
176 | # define HAVE_COSHF 1 | |
177 | # define coshf _coshf | |
178 | #endif | |
179 | ||
54fa7415 SK |
180 | #if defined (HAVE__COSL) && ! defined (HAVE_COSL) |
181 | # define HAVE_COSL 1 | |
182 | # define cosl _cosl | |
183 | #endif | |
184 | ||
b2dad0e3 BK |
185 | #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) |
186 | # define HAVE_LOGF 1 | |
187 | # define logf _logf | |
188 | #endif | |
189 | ||
54fa7415 SK |
190 | #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) |
191 | # define HAVE_COSHL 1 | |
192 | # define coshl _coshl | |
193 | #endif | |
194 | ||
195 | #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) | |
196 | # define HAVE_EXPF 1 | |
197 | # define expf _expf | |
198 | #endif | |
199 | ||
200 | #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) | |
201 | # define HAVE_EXPL 1 | |
202 | # define expl _expl | |
203 | #endif | |
204 | ||
205 | #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) | |
206 | # define HAVE_FABSF 1 | |
207 | # define fabsf _fabsf | |
208 | #endif | |
209 | ||
210 | #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) | |
211 | # define HAVE_FABSL 1 | |
212 | # define fabsl _fabsl | |
213 | #endif | |
214 | ||
215 | #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) | |
216 | # define HAVE_FLOORF 1 | |
217 | # define floorf _floorf | |
218 | #endif | |
219 | ||
220 | #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) | |
221 | # define HAVE_FLOORL 1 | |
222 | # define floorl _floorl | |
223 | #endif | |
224 | ||
225 | #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) | |
226 | # define HAVE_FMODF 1 | |
227 | # define fmodf _fmodf | |
228 | #endif | |
229 | ||
230 | #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) | |
231 | # define HAVE_FMODL 1 | |
232 | # define fmodl _fmodl | |
233 | #endif | |
234 | ||
235 | #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) | |
236 | # define HAVE_FREXPF 1 | |
237 | # define frexpf _frexpf | |
238 | #endif | |
239 | ||
240 | #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) | |
241 | # define HAVE_FREXPL 1 | |
242 | # define frexpl _frexpl | |
243 | #endif | |
244 | ||
245 | #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) | |
246 | # define HAVE_LDEXPF 1 | |
247 | # define ldexpf _ldexpf | |
248 | #endif | |
249 | ||
250 | #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) | |
251 | # define HAVE_LDEXPL 1 | |
252 | # define ldexpl _ldexpl | |
253 | #endif | |
254 | ||
b2dad0e3 BK |
255 | #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) |
256 | # define HAVE_LOG10F 1 | |
257 | # define log10f _log10f | |
258 | #endif | |
259 | ||
54fa7415 SK |
260 | #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) |
261 | # define HAVE_LOGL 1 | |
262 | # define logl _logl | |
263 | #endif | |
264 | ||
b2dad0e3 BK |
265 | #if defined (HAVE__POWF) && ! defined (HAVE_POWF) |
266 | # define HAVE_POWF 1 | |
267 | # define powf _powf | |
268 | #endif | |
269 | ||
54fa7415 SK |
270 | #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) |
271 | # define HAVE_LOG10L 1 | |
272 | # define log10l _log10l | |
273 | #endif | |
274 | ||
275 | #if defined (HAVE__MODF) && ! defined (HAVE_MODF) | |
276 | # define HAVE_MODF 1 | |
277 | # define modf _modf | |
278 | #endif | |
279 | ||
280 | #if defined (HAVE__MODL) && ! defined (HAVE_MODL) | |
281 | # define HAVE_MODL 1 | |
282 | # define modl _modl | |
283 | #endif | |
284 | ||
b2dad0e3 BK |
285 | #if defined (HAVE__SINF) && ! defined (HAVE_SINF) |
286 | # define HAVE_SINF 1 | |
287 | # define sinf _sinf | |
288 | #endif | |
289 | ||
54fa7415 SK |
290 | #if defined (HAVE__POWL) && ! defined (HAVE_POWL) |
291 | # define HAVE_POWL 1 | |
292 | # define powl _powl | |
293 | #endif | |
294 | ||
b2dad0e3 BK |
295 | #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) |
296 | # define HAVE_SINHF 1 | |
297 | # define sinhf _sinhf | |
298 | #endif | |
299 | ||
54fa7415 SK |
300 | #if defined (HAVE__SINL) && ! defined (HAVE_SINL) |
301 | # define HAVE_SINL 1 | |
302 | # define sinl _sinl | |
303 | #endif | |
304 | ||
b2dad0e3 BK |
305 | #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) |
306 | # define HAVE_SQRTF 1 | |
307 | # define sqrtf _sqrtf | |
308 | #endif | |
309 | ||
54fa7415 SK |
310 | #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) |
311 | # define HAVE_SINHL 1 | |
312 | # define sinhl _sinhl | |
313 | #endif | |
314 | ||
b2dad0e3 BK |
315 | #if defined (HAVE__TANF) && ! defined (HAVE_TANF) |
316 | # define HAVE_TANF 1 | |
317 | # define tanf _tanf | |
318 | #endif | |
319 | ||
54fa7415 SK |
320 | #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) |
321 | # define HAVE_SQRTL 1 | |
322 | # define sqrtl _sqrtl | |
323 | #endif | |
324 | ||
b2dad0e3 BK |
325 | #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) |
326 | # define HAVE_TANHF 1 | |
327 | # define tanhf _tanhf | |
328 | #endif | |
329 | ||
54fa7415 SK |
330 | #if defined (HAVE__TANL) && ! defined (HAVE_TANL) |
331 | # define HAVE_TANF 1 | |
332 | # define tanf _tanf | |
333 | #endif | |
334 | ||
b2dad0e3 BK |
335 | #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) |
336 | # define HAVE_STRTOF 1 | |
337 | # define strtof _strtof | |
338 | #endif | |
339 | ||
54fa7415 SK |
340 | #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) |
341 | # define HAVE_TANHL 1 | |
342 | # define tanhl _tanhl | |
343 | #endif | |
344 | ||
b2dad0e3 BK |
345 | #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) |
346 | # define HAVE_STRTOLD 1 | |
347 | # define strtold _strtold | |
348 | #endif | |
349 | ||
b2dad0e3 BK |
350 | #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) |
351 | # define HAVE_SINCOS 1 | |
352 | # define sincos _sincos | |
353 | #endif | |
354 | ||
355 | #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) | |
356 | # define HAVE_SINCOSF 1 | |
357 | # define sincosf _sincosf | |
358 | #endif | |
359 | ||
360 | #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) | |
361 | # define HAVE_SINCOSL 1 | |
362 | # define sincosl _sincosl | |
363 | #endif | |
364 | ||
365 | #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) | |
366 | # define HAVE_FINITE 1 | |
367 | # define finite _finite | |
368 | #endif | |
369 | ||
54fa7415 SK |
370 | #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) |
371 | # define HAVE_FINITEF 1 | |
372 | # define finitef _finitef | |
373 | #endif | |
374 | ||
375 | #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) | |
376 | # define HAVE_FINITEL 1 | |
377 | # define finitel _finitel | |
378 | #endif | |
379 | ||
b2dad0e3 BK |
380 | #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE) |
381 | # define HAVE_QFINITE 1 | |
382 | # define qfinite _qfinite | |
383 | #endif | |
384 | ||
385 | #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) | |
386 | # define HAVE_FPCLASS 1 | |
387 | # define fpclass _fpclass | |
388 | #endif | |
389 | ||
390 | #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) | |
391 | # define HAVE_QFPCLASS 1 | |
392 | # define qfpclass _qfpclass | |
393 | #endif | |
394 |