1 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
3 // Include support for 'long long' and 'unsigned long long'.
4 #undef _GLIBCPP_USE_LONG_LONG
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
10 #undef _GLIBCPP_NEED_MBSTATE_T
12 // Define if code specialized for wchar_t should be used.
13 #undef _GLIBCPP_USE_WCHAR_T
15 // Define if the compiler/host combination has __builtin_abs
16 #undef HAVE___BUILTIN_ABS
18 // Define if the compiler/host combination has __builtin_labs
19 #undef HAVE___BUILTIN_LABS
21 // Define if the compiler/host combination has __builtin_cos
22 #undef HAVE___BUILTIN_COS
24 // Define if the compiler/host combination has __builtin_cosf
25 #undef HAVE___BUILTIN_COSF
27 // Define if the compiler/host combination has __builtin_cosl
28 #undef HAVE___BUILTIN_COSL
30 // Define if the compiler/host combination has __builtin_fabs
31 #undef HAVE___BUILTIN_FABS
33 // Define if the compiler/host combination has __builtin_fabsf
34 #undef HAVE___BUILTIN_FABSF
36 // Define if the compiler/host combination has __builtin_fabsl
37 #undef HAVE___BUILTIN_FABSL
39 // Define if the compiler/host combination has __builtin_sin
40 #undef HAVE___BUILTIN_SIN
42 // Define if the compiler/host combination has __builtin_sinf
43 #undef HAVE___BUILTIN_SINF
45 // Define if the compiler/host combination has __builtin_sinl
46 #undef HAVE___BUILTIN_SINL
48 // Define if the compiler/host combination has __builtin_fsqrt
49 #undef HAVE___BUILTIN_FSQRT
51 // Define if the compiler/host combination has __builtin_sqrtf
52 #undef HAVE___BUILTIN_SQRTF
54 // Define if the compiler/host combination has __builtin_sqrtl
55 #undef HAVE___BUILTIN_SQRTL
57 // Define if GCC support for __complex__ float is buggy.
58 #undef _GLIBCPP_BUGGY_FLOAT_COMPLEX
60 // Define if GCC support for __complex__ is buggy.
61 #undef _GLIBCPP_BUGGY_COMPLEX
63 // Define if LC_MESSAGES is available in <locale.h>.
64 #undef HAVE_LC_MESSAGES
66 // Define if <float.h> exists.
69 // Define if modf is present in <math.h>
72 // Define if multiple threads are to be taken into account.
73 #undef _GLIBCPP_USING_THREADS
75 // Define to some workaround if not directly available.
78 // Define to some workaround if not directly available.
81 // Define to some workaround if not directly available.
84 // Define to some workaround if not directly available.
87 // Define to regular stat if not directly supported.
92 // Systems that have certain non-standard functions prefixed with an
93 // underscore, we'll handle those here. Must come after config.h.in.
96 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
101 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
102 # define HAVE_ISNANF 1
103 # define isnanf _isnanf
106 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
107 # define HAVE_ISNANL 1
108 # define isnanl _isnanl
111 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
112 # define HAVE_ISINF 1
113 # define isinf _isinf
116 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
117 # define HAVE_ISINFF 1
118 # define isinff _isinff
121 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
122 # define HAVE_ISINFL 1
123 # define isinfl _isinfl
126 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
127 # define HAVE_COPYSIGN 1
128 # define copysign _copysign
131 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
132 # define HAVE_COPYSIGNL 1
133 # define copysignl _copysignl
136 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
141 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
142 # define HAVE_ACOSF 1
143 # define acosf _acosf
146 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
147 # define HAVE_ACOSL 1
148 # define acosl _acosl
151 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
152 # define HAVE_ASINF 1
153 # define asinf _asinf
156 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
157 # define HAVE_ASINL 1
158 # define asinl _asinl
161 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
162 # define HAVE_ATANF 1
163 # define atanf _atanf
166 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
167 # define HAVE_ATANL 1
168 # define atanl _atanl
171 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
172 # define HAVE_CEILF 1
173 # define aceil _ceilf
176 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
177 # define HAVE_CEILL 1
178 # define aceil _ceill
181 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
182 # define HAVE_COSHF 1
183 # define coshf _coshf
186 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
191 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
196 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
197 # define HAVE_COSHL 1
198 # define coshl _coshl
201 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
206 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
211 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
212 # define HAVE_FABSF 1
213 # define fabsf _fabsf
216 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
217 # define HAVE_FABSL 1
218 # define fabsl _fabsl
221 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
222 # define HAVE_FLOORF 1
223 # define floorf _floorf
226 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
227 # define HAVE_FLOORL 1
228 # define floorl _floorl
231 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
232 # define HAVE_FMODF 1
233 # define fmodf _fmodf
236 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
237 # define HAVE_FMODL 1
238 # define fmodl _fmodl
241 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
242 # define HAVE_FREXPF 1
243 # define frexpf _frexpf
246 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
247 # define HAVE_FREXPL 1
248 # define frexpl _frexpl
251 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
252 # define HAVE_LDEXPF 1
253 # define ldexpf _ldexpf
256 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
257 # define HAVE_LDEXPL 1
258 # define ldexpl _ldexpl
261 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
262 # define HAVE_LOG10F 1
263 # define log10f _log10f
266 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
271 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
276 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
277 # define HAVE_LOG10L 1
278 # define log10l _log10l
281 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
286 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
291 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
296 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
301 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
302 # define HAVE_SINHF 1
303 # define sinhf _sinhf
306 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
311 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
312 # define HAVE_SQRTF 1
313 # define sqrtf _sqrtf
316 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
317 # define HAVE_SINHL 1
318 # define sinhl _sinhl
321 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
326 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
327 # define HAVE_SQRTL 1
328 # define sqrtl _sqrtl
331 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
332 # define HAVE_TANHF 1
333 # define tanhf _tanhf
336 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
341 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
342 # define HAVE_STRTOF 1
343 # define strtof _strtof
346 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
347 # define HAVE_TANHL 1
348 # define tanhl _tanhl
351 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
352 # define HAVE_STRTOLD 1
353 # define strtold _strtold
356 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
357 # define HAVE_SINCOS 1
358 # define sincos _sincos
361 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
362 # define HAVE_SINCOSF 1
363 # define sincosf _sincosf
366 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
367 # define HAVE_SINCOSL 1
368 # define sincosl _sincosl
371 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
372 # define HAVE_FINITE 1
373 # define finite _finite
376 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
377 # define HAVE_FINITEF 1
378 # define finitef _finitef
381 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
382 # define HAVE_FINITEL 1
383 # define finitel _finitel
386 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
387 # define HAVE_QFINITE 1
388 # define qfinite _qfinite
391 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
392 # define HAVE_FPCLASS 1
393 # define fpclass _fpclass
396 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
397 # define HAVE_QFPCLASS 1
398 # define qfpclass _qfpclass