1 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
3 // Defines libstdc++ version.
13 // Define if GCC supports weak symbols
14 #undef _GLIBCPP_SUPPORTS_WEAK
16 // Define if gthr-default.h exists (meaning that threading support is enabled)
17 #undef HAVE_GTHR_DEFAULT
19 // Include support for 'long long' and 'unsigned long long'.
20 #undef _GLIBCPP_USE_LONG_LONG
22 // Define if code specialized for wchar_t should be used.
23 #undef _GLIBCPP_USE_C99
25 // Include support for 'long double'.
26 #undef _GLIBCPP_USE_LONG_DOUBLE
28 // Include support for shadow headers, ie --enable-cshadow-headers.
29 #undef _GLIBCPP_USE_SHADOW_HEADERS
31 // Define if code specialized for wchar_t should be used.
32 #undef _GLIBCPP_USE_WCHAR_T
34 // Define if you have the atan2f function.
35 #undef _GLIBCPP_HAVE_ATAN2F
37 // Define if you have the atan2l function.
38 #undef _GLIBCPP_HAVE_ATAN2L
40 // Define if you have the copysignf function.
41 #undef _GLIBCPP_HAVE_COPYSIGNF
43 // Define if mbstate_t exists in wchar.h.
46 // Define if you have the modff function.
49 // Define if you have the modfl function.
52 // Define if the compiler/host combination has __builtin_abs
53 #undef HAVE___BUILTIN_ABS
55 // Define if the compiler/host combination has __builtin_labs
56 #undef HAVE___BUILTIN_LABS
58 // Define if the compiler/host combination has __builtin_cos
59 #undef HAVE___BUILTIN_COS
61 // Define if the compiler/host combination has __builtin_cosf
62 #undef HAVE___BUILTIN_COSF
64 // Define if the compiler/host combination has __builtin_cosl
65 #undef HAVE___BUILTIN_COSL
67 // Define if the compiler/host combination has __builtin_fabs
68 #undef HAVE___BUILTIN_FABS
70 // Define if the compiler/host combination has __builtin_fabsf
71 #undef HAVE___BUILTIN_FABSF
73 // Define if the compiler/host combination has __builtin_fabsl
74 #undef HAVE___BUILTIN_FABSL
76 // Define if the compiler/host combination has __builtin_sin
77 #undef HAVE___BUILTIN_SIN
79 // Define if the compiler/host combination has __builtin_sinf
80 #undef HAVE___BUILTIN_SINF
82 // Define if the compiler/host combination has __builtin_sinl
83 #undef HAVE___BUILTIN_SINL
85 // Define if the compiler/host combination has __builtin_fsqrt
86 #undef HAVE___BUILTIN_FSQRT
88 // Define if the compiler/host combination has __builtin_sqrtf
89 #undef HAVE___BUILTIN_SQRTF
91 // Define if the compiler/host combination has __builtin_sqrtl
92 #undef HAVE___BUILTIN_SQRTL
94 // Define if LC_MESSAGES is available in <locale.h>.
95 #undef HAVE_LC_MESSAGES
97 // Define if <float.h> exists.
100 // Define if modf is present in <math.h>
105 // Systems that have certain non-standard functions prefixed with an
106 // underscore, we'll handle those here. Must come after config.h.in.
108 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
109 # define HAVE_ISNAN 1
110 # define isnan _isnan
113 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
114 # define HAVE_ISNANF 1
115 # define isnanf _isnanf
118 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
119 # define HAVE_ISNANL 1
120 # define isnanl _isnanl
123 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
124 # define HAVE_ISINF 1
125 # define isinf _isinf
128 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
129 # define HAVE_ISINFF 1
130 # define isinff _isinff
133 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
134 # define HAVE_ISINFL 1
135 # define isinfl _isinfl
138 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
139 # define HAVE_COPYSIGN 1
140 # define copysign _copysign
143 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
144 # define HAVE_COPYSIGNL 1
145 # define copysignl _copysignl
148 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
153 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
154 # define HAVE_ACOSF 1
155 # define acosf _acosf
158 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
159 # define HAVE_ACOSL 1
160 # define acosl _acosl
163 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
164 # define HAVE_ASINF 1
165 # define asinf _asinf
168 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
169 # define HAVE_ASINL 1
170 # define asinl _asinl
173 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
174 # define HAVE_ATANF 1
175 # define atanf _atanf
178 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
179 # define HAVE_ATANL 1
180 # define atanl _atanl
183 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
184 # define HAVE_CEILF 1
185 # define aceil _ceilf
188 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
189 # define HAVE_CEILL 1
190 # define aceil _ceill
193 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
194 # define HAVE_COSHF 1
195 # define coshf _coshf
198 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
203 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
208 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
209 # define HAVE_COSHL 1
210 # define coshl _coshl
213 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
218 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
223 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
224 # define HAVE_FABSF 1
225 # define fabsf _fabsf
228 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
229 # define HAVE_FABSL 1
230 # define fabsl _fabsl
233 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
234 # define HAVE_FLOORF 1
235 # define floorf _floorf
238 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
239 # define HAVE_FLOORL 1
240 # define floorl _floorl
243 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
244 # define HAVE_FMODF 1
245 # define fmodf _fmodf
248 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
249 # define HAVE_FMODL 1
250 # define fmodl _fmodl
253 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
254 # define HAVE_FREXPF 1
255 # define frexpf _frexpf
258 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
259 # define HAVE_FREXPL 1
260 # define frexpl _frexpl
263 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
264 # define HAVE_LDEXPF 1
265 # define ldexpf _ldexpf
268 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
269 # define HAVE_LDEXPL 1
270 # define ldexpl _ldexpl
273 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
274 # define HAVE_LOG10F 1
275 # define log10f _log10f
278 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
283 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
288 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
289 # define HAVE_LOG10L 1
290 # define log10l _log10l
293 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
298 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
303 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
308 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
313 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
314 # define HAVE_SINHF 1
315 # define sinhf _sinhf
318 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
323 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
324 # define HAVE_SQRTF 1
325 # define sqrtf _sqrtf
328 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
329 # define HAVE_SINHL 1
330 # define sinhl _sinhl
333 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
338 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
339 # define HAVE_SQRTL 1
340 # define sqrtl _sqrtl
343 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
344 # define HAVE_TANHF 1
345 # define tanhf _tanhf
348 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
353 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
354 # define HAVE_STRTOF 1
355 # define strtof _strtof
358 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
359 # define HAVE_TANHL 1
360 # define tanhl _tanhl
363 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
364 # define HAVE_STRTOLD 1
365 # define strtold _strtold
368 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
369 # define HAVE_SINCOS 1
370 # define sincos _sincos
373 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
374 # define HAVE_SINCOSF 1
375 # define sincosf _sincosf
378 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
379 # define HAVE_SINCOSL 1
380 # define sincosl _sincosl
383 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
384 # define HAVE_FINITE 1
385 # define finite _finite
388 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
389 # define HAVE_FINITEF 1
390 # define finitef _finitef
393 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
394 # define HAVE_FINITEL 1
395 # define finitel _finitel
398 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
399 # define HAVE_QFINITE 1
400 # define qfinite _qfinite
403 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
404 # define HAVE_FPCLASS 1
405 # define fpclass _fpclass
408 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
409 # define HAVE_QFPCLASS 1
410 # define qfpclass _qfpclass