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